HiQPdf Documentation

HtmlToPdfConvertHtmlToFile Method

Quickly Create High Quality PDFs
Converts a HTML code to a PDF file

Namespace:  HiQPdf
Assembly:  HiQPdf (in HiQPdf.dll) Version: 14.0.0.0
Syntax

public void ConvertHtmlToFile(
	string html,
	string baseUrl,
	string outputFile
)

Parameters

html
Type: SystemString
The HTML code to convert
baseUrl
Type: SystemString
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
outputFile
Type: SystemString
The output PDF file
See Also

Reference