Click or drag to resize
Pdf Library for .NET

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

Creates an element that renders the HTML string at (x, y) with the given width.

Namespace: SelectPdf.Universal
Assembly: SelectPdf.Universal (in SelectPdf.Universal.dll) Version: 26.4
Syntax
public HtmlToImageElement(
	float x,
	float y,
	float width,
	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.
htmlString  String
The html string content.
baseUrl  String
Base url used to resolve relative paths in the html string.
See Also