HtmlToPdfConvertHtmlToPdfDocument Method
Converts a HTML code and produces a
PdfDocument object that can be further modified and then saved
Namespace: HiQPdfClientAssembly: HiQPdfClient.NetCore (in HiQPdfClient.NetCore.dll) Version: 16.0.0
public PdfDocument ConvertHtmlToPdfDocument(
string html,
string baseUrl
)
Public Function ConvertHtmlToPdfDocument (
html As String,
baseUrl As String
) As PdfDocument
public:
PdfDocument^ ConvertHtmlToPdfDocument(
String^ html,
String^ baseUrl
)
member ConvertHtmlToPdfDocument :
html : string *
baseUrl : string -> PdfDocument
- 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
PdfDocumentThe
PdfDocument object containing the conversion result