Class HtmlToPdfGeneration

Class wrapper around the WkPdfToHtml Engine https://wkhtmltopdf.org/usage/wkhtmltopdf.txt

System.Object
  MarkdownMonster.HtmlToPdfGeneration
public class HtmlToPdfGeneration : object, INotifyPropertyChanged

Class Members

MemberDescription

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)

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,

ShowFooterLine

ShowFooterPageNumbers

Title

The document title. If null or empty the first header is used which is the default..

Requirements

Namespace: MarkdownMonster
Assembly: markdownmonster.exe

© West Wind Technologies, 1996-2021 • Updated: 11/23/21
Comment or report problem with topic