EVO HTML to PDF Converter

HtmlToSvgConverterConvertHtml Method

EVO PDF Client for .NET Documentation
Converts a HTML string into a SVG document using a base URL to resolve the external resources and returns the rendered SVG document into a memory buffer

Namespace:  EvoPdf.HtmlToPdfClient
Assembly:  EvoHtmlToPdfClient (in EvoHtmlToPdfClient.dll) Version: 9.0.0.0 (9.0.0.0)
Syntax

public byte[] ConvertHtml(
	string html,
	string baseUrl
)

Parameters

html
Type: SystemString
The HTML string to convert to SVG
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

Return Value

Type: Byte
A memory buffer containing the SVG document
See Also

Reference