HtmlToPdfConvertHtmlToPdfDocument Method

Converts a HTML code and produces a PdfDocument object that can be further modified and then saved

Definition

Namespace: HiQPdfClient
Assembly: HiQPdfClient.NetCore (in HiQPdfClient.NetCore.dll) Version: 16.0.0
C#
public PdfDocument ConvertHtmlToPdfDocument(
	string html,
	string baseUrl
)

Parameters

html  String
The HTML code to convert
baseUrl  String
The base URL that can be used to resolve the relative URLs found in the HTML code. It can be null if there are not relative URLs in the HTML code

Return Value

PdfDocument
The PdfDocument object containing the conversion result

See Also