ExpertPdf Html to Pdf Converter Library
ImageElement Constructor (x, y, destWidth, filePath)
NamespacesExpertPdf.HtmlToPdf.PdfDocumentImageElementImageElement(Single, Single, Single, String)
ExpertPdf Html to Pdf Converter Library
Creates an ImageElement from the specified file that will be rendered at the position (x,y) with the specified width destWidth and the height auto determined to keep the initial aspect ratio.
Declaration Syntax
C#Visual BasicVisual C++
public ImageElement(
	float x,
	float y,
	float destWidth,
	string filePath
)
Public Sub New ( 
	x As Single,
	y As Single,
	destWidth As Single,
	filePath As String
)
public:
ImageElement(
	float x, 
	float y, 
	float destWidth, 
	String^ filePath
)
Parameters
x (Single)
The X location where this element will be rendered
y (Single)
The Y location where this element will be rendered
destWidth (Single)
The destination rectangle width
filePath (String)
The image file path

Assembly: ExpertPdf.HtmlToPdf (Module: ExpertPdf.HtmlToPdf.dll) Version: 9.2.0.25824 (9.2.0.0)