Winnovative HTML to PDF Converter

HtmlToSvgConverterConvertHtmlToFile Method

Winnovative HTML to PDF Converter for .NET Documentation
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 file

Namespace:  Winnovative
Assembly:  wnvhtmltopdf (in wnvhtmltopdf.dll) Version: 17.0.0.0
Syntax

public void ConvertHtmlToFile(
	string html,
	string baseUrl,
	string outFile
)

Parameters

html
Type: SystemString
The HTML string to convert
baseUrl
Type: SystemString
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
outFile
Type: SystemString
The output file where to save the generated SVG document
See Also

Reference