HtmlToSvgConverterConvertHtmlToStream Method

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

Definition

Namespace: EvoPdf
Assembly: EvoHtmlToPdf_NetCore (in EvoHtmlToPdf_NetCore.dll) Version: 11.0.0
C#
public void ConvertHtmlToStream(
	string html,
	string baseUrl,
	Stream outStream
)

Parameters

html  String
The HTML string to convert
baseUrl  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  Stream
The output stream where to save the generated SVG document

See Also