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

Creates an object to convert the given HTML code to an image and render the resulted image at the given coordinate and having a given width 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,
	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
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