HtmlToPdfConvertHtmlToFile Method
Converts a HTML code to a PDF file
Namespace: HiQPdfClientAssembly: HiQPdfClient.NetCore (in HiQPdfClient.NetCore.dll) Version: 16.0.0
public void ConvertHtmlToFile(
string html,
string baseUrl,
string outputFile
)
Public Sub ConvertHtmlToFile (
html As String,
baseUrl As String,
outputFile As String
)
public:
void ConvertHtmlToFile(
String^ html,
String^ baseUrl,
String^ outputFile
)
member ConvertHtmlToFile :
html : string *
baseUrl : string *
outputFile : string -> unit
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
- outputFile String
- The output PDF file