Click or drag to resize
Pdf Library for .NET

HtmlToImageElement(Single, Single, String, String) Constructor

Creates an element that renders the HTML string at position (x, y).

Namespace: SelectPdf.Universal
Assembly: SelectPdf.Universal (in SelectPdf.Universal.dll) Version: 26.4
Syntax
public HtmlToImageElement(
	float x,
	float y,
	string htmlString,
	string baseUrl
)

Parameters

x  Single
The X position, in points.
y  Single
The Y position, in points.
htmlString  String
The html string content.
baseUrl  String
Base url used to resolve relative paths in the html string.
See Also