HiQPdf Documentation

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

HiQPdf Client for .NET Core
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

Namespace:  HiQPdfClient
Assembly:  HiQPdfClient.NetCore (in HiQPdfClient.NetCore.dll) Version: 15.0.0
Syntax

public PdfHtmlImage(
	float destX,
	float destY,
	float destWidth,
	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
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