Click or drag to resize
Pdf Library for .NET

HtmlToImageElement(String, String) Constructor

Creates an element that renders the specified HTML string, resolving relative urls against the base url.

Namespace: SelectPdf.Universal
Assembly: SelectPdf.Universal (in SelectPdf.Universal.dll) Version: 26.5
Syntax
public HtmlToImageElement(
	string htmlString,
	string baseUrl
)

Parameters

htmlString  String
The html string content.
baseUrl  String
Base url used to resolve relative paths in the html string. An http or https base url is also the page's own address and origin.
See Also