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
Namespace: HiQPdfClientAssembly: HiQPdfClient.NetCore (in HiQPdfClient.NetCore.dll) Version: 16.0.0
public PdfHtmlImage(
float destX,
float destY,
float destWidth,
float destHeight,
string html,
string baseUrl
)
Public Sub New (
destX As Single,
destY As Single,
destWidth As Single,
destHeight As Single,
html As String,
baseUrl As String
)
public:
PdfHtmlImage(
float destX,
float destY,
float destWidth,
float destHeight,
String^ html,
String^ baseUrl
)
new :
destX : float32 *
destY : float32 *
destWidth : float32 *
destHeight : float32 *
html : string *
baseUrl : string -> PdfHtmlImage
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