HtmlToSvgConverterConvertHtml Method
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: EvoPdfAssembly: EvoHtmlToPdf_NetCore (in EvoHtmlToPdf_NetCore.dll) Version: 11.0.0
public byte[] ConvertHtml(
string html,
string baseUrl
)
Public Function ConvertHtml (
html As String,
baseUrl As String
) As Byte()
- html String
- The HTML string to convert to SVG
- 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
ByteA memory buffer containing the SVG document