Link Search Menu Expand Document

HtmlToPdfConverterSingletonConvertHtmlToPdf Method (String, String)

Performs HTML to PDF conversion.

Namespace:Bytescout.PDF.Converters
Assembly: Bytescout.PDF.Converters (in Bytescout.PDF.Converters.dll) Version: 3.5.1.1204-master
Syntax
public static bool ConvertHtmlToPdf(
	string sourceHtmlFileNameOrURI,
	string destPdfFileName
)

Parameters

sourceHtmlFileNameOrURI
Type: SystemString
Source HTML file name or valid URI (link).
destPdfFileName
Type: SystemString
Destination PDF file name.

Return Value

Type: Boolean
true if conversion succeeded, false if any web or parsing errors.
See Also

Reference