Click or drag to resize
Pdf Library for .NET

HtmlToImageElement(Single, Single, Single, Single, String, String) Constructor

Creates an element that renders the HTML string in the rectangle (x, y, width, height).

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

Parameters

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