HiQPdf Documentation

PdfHtmlImage Constructor (Single, Single, Single, Single, String, String)

Quickly Create High Quality PDFs
Creates an object to convert the HTML from a given URL to an image and render the resulted image within a given destination box in the PDF page to which this object is added

Namespace:  HiQPdf
Assembly:  HiQPdf (in HiQPdf.dll) Version: 15.0.0.0
Syntax

public PdfHtmlImage(
	float destX,
	float destY,
	float destWidth,
	float destHeight,
	string html,
	string baseUrl
)

Parameters

destX
Type: SystemSingle
The top left corner X coordinate in points
destY
Type: SystemSingle
The top left corner Y coordinate in points
destWidth
Type: SystemSingle
The destination box width in points
destHeight
Type: SystemSingle
The destination box height in points
html
Type: SystemString
The HTML code to convert
baseUrl
Type: SystemString
The base URL that can be used to resolve the relative URLs found in the HTML code. It can be null if there are not relative URLs in the HTML code
See Also

Reference