OpenPetra
Free Administration Software for Non-Profits
Ict.Common.Printing.Html2Pdf Class Reference

usw wkhtmltopdf to print HTML to PDF More...

Static Public Member Functions

static string GetWkHTMLToPDFPath ()
 get the path to the wkhtmltopdf binary More...
 
static string StripLastPageBreak (string AHtmlText)
 strip the last page break if there is not much content after it More...
 
static bool HTMLToPDF (string AHtmlText, string AOutputPDFFilename)
 Create a PDF file from the HTML More...
 

Detailed Description

usw wkhtmltopdf to print HTML to PDF

Member Function Documentation

◆ GetWkHTMLToPDFPath()

static string Ict.Common.Printing.Html2Pdf.GetWkHTMLToPDFPath ( )
inlinestatic

get the path to the wkhtmltopdf binary

◆ HTMLToPDF()

static bool Ict.Common.Printing.Html2Pdf.HTMLToPDF ( string  AHtmlText,
string  AOutputPDFFilename 
)
inlinestatic

Create a PDF file from the HTML

◆ StripLastPageBreak()

static string Ict.Common.Printing.Html2Pdf.StripLastPageBreak ( string  AHtmlText)
inlinestatic

strip the last page break if there is not much content after it


The documentation for this class was generated from the following file: