HiQPdf Documentation

HtmlToPdfConvertHtmlToStream Method

Quickly Create High Quality PDFs
Converts a HTML code to a PDF document and writes the resulted PDF document to an output stream

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

public void ConvertHtmlToStream(
	string html,
	string baseUrl,
	Stream outputStream
)

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
outputStream
Type: System.IOStream
The output stream where to write the resulted PDF document
See Also

Reference