Class wrapper around the WkPdfToHtml Engine https://wkhtmltopdf.org/usage/wkhtmltopdf.txt
MarkdownMonster.HtmlToPdfGeneration
public class HtmlToPdfGeneration : object, INotifyPropertyChanged
Class Members
Member | Description | |
---|---|---|
Constructor |
||
PropertyChanged |
||
ExecuteWkProcess |
public int ExecuteWkProcess(string parms, bool copyCommandLineToClipboard) |
|
GeneratePdfFromHtml |
High level method that converts HTML to PDF. public bool GeneratePdfFromHtml(string sourceHtmlFileOrUri, string outputPdfFile) |
|
LoadFromConfiguration |
Updates the MM PDF output Configuration object from current values. Updates the config object with the values from the dialog. public void LoadFromConfiguration(PdfOutputConfiguration config) |
|
SaveToConfiguration |
Sets the configuration settings from the MM configuration object. public void SaveToConfiguration(PdfOutputConfiguration config) |
|
SetConfiguration |
Updates the MM PDF output Configuration object from current values. Updates the config object with the values from the dialog. public void SetConfiguration(PdfOutputConfiguration config) |
|
SetFromConfiguration |
Sets the configuration settings from the MM configuration object. public void SetFromConfiguration(PdfOutputConfiguration config) |
|
DisplayPdfAfterGeneration |
||
ErrorMessage |
||
ExecutionOutputText |
||
ExecutionPath |
The path to the wkpdftohtml executable (optional) | |
FooterFontSize |
||
FooterHtmlUrl |
||
FooterText |
||
FullExecutionCommand |
||
GenerateTableOfContents |
||
HasExecutionCommandLine |
||
HasExecutionOutput |
||
HeaderHtmlUrl |
||
HeaderLeft |
||
HeaderRight |
||
ImageDpi |
||
Margins |
||
NoLocalFileAccess |
||
Orientation |
||
PageSize |
Documents paper size Letter, | |
PdfPreviewTheme |
||
ShowFooterLine |
||
ShowFooterPageNumbers |
||
Title |
The document title. If null or empty the first header is used which is the default.. |
Requirements
Namespace: MarkdownMonsterAssembly: markdownmonster.exe
© West Wind Technologies, 2016-2024 • Updated: 11/23/21
Comment or report problem with topic