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: 16.0.0
public void ConvertHtmlToStream(
string html,
string baseUrl,
Stream outputStream
)
Public Sub ConvertHtmlToStream (
html As String,
baseUrl As String,
outputStream As Stream
)
public:
void ConvertHtmlToStream(
String^ html,
String^ baseUrl,
Stream^ outputStream
)
member ConvertHtmlToStream :
html : string *
baseUrl : string *
outputStream : Stream -> 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
- outputStream Stream
- The output stream where to write the resulted PDF document