HiQPdf Documentation

HtmlToSvgConvertHtmlToStream Method

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

Namespace:  HiQPdf
Assembly:  HiQPdf (in HiQPdf.dll) Version: 15.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 SVG document
See Also

Reference