SvgConverterGetSvgFromHtmlString Method

Converts a HTML string into a SVG document using a base URL. This method is still present in the API to maintain the backward compatibility and it will be replaced by ConvertHtml(String, String) method in the future versions

Definition

Namespace: EvoPdf
Assembly: EvoHtmlToPdf_NetCore (in EvoHtmlToPdf_NetCore.dll) Version: 11.0.0
C#
public byte[] GetSvgFromHtmlString(
	string html,
	string baseUrl
)

Parameters

html  String
The HTML string to convert
baseUrl  String
The base URL

Return Value

Byte
The created SVG document bytes

See Also