HtmlToPdfConvertHtmlToStream Method
Converts a HTML code to a PDF document and writes the resulted PDF document to an output stream
Namespace: HiQPdfAssembly: HiQPdf.NetCore (in HiQPdf.NetCore.dll) Version: 18.0.0
public void ConvertHtmlToStream(
string html,
string baseUrl,
Stream outputStream
)
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
- outputStream Stream
- The output stream where to write the resulted PDF document