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

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

Definition

Namespace: HiQPdfClient
Assembly: HiQPdfClient.NetCore (in HiQPdfClient.NetCore.dll) Version: 16.0.0
C#
public PdfHtmlImage(
	float destX,
	float destY,
	float destWidth,
	float destHeight,
	string html,
	string baseUrl
)

Parameters

destX  Single
The top left corner X coordinate in points
destY  Single
The top left corner Y coordinate in points
destWidth  Single
The destination box width in points
destHeight  Single
The destination box height in points
html  String
The HTML code to convert
baseUrl  String
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