Converts the specified HTML string into a SVG document using a base URL to resolve the external resources and saves the rendered SVG document to the specified stream.

Namespace: EvoPdf
Assembly: evohtmltopdf (in evohtmltopdf.dll) Version: 4.12.0.0

Syntax

C#
public void ConvertHtmlToStream(
	string html,
	string baseUrl,
	Stream outStream
)
Visual Basic
Public Sub ConvertHtmlToStream ( 
	html As String,
	baseUrl As String,
	outStream As Stream
)
Visual C++
public:
void ConvertHtmlToStream(
	String^ html, 
	String^ baseUrl, 
	Stream^ outStream
)

Parameters

html
Type: System..::..String
The HTML string to convert.
baseUrl
Type: System..::..String
This parameter allows the converter to determine the full URLs from relative URLs for images and CSS files appearing in the HTML string. If there are not relative URLs in the HTML code this parameter can be empty or null.
outStream
Type: System.IO..::..Stream
The output stream where to save the generated SVG document.

See Also