ExpertPdf Html to Pdf Converter Library
ImageElement Constructor (x, y, filePath)
NamespacesExpertPdf.HtmlToPdf.PdfDocumentImageElementImageElement(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 width equal to available width in page and the height auto determined to keep the initial aspect ratio.
Declaration Syntax
C#Visual BasicVisual C++
public ImageElement(
	float x,
	float y,
	string filePath
)
Public Sub New ( 
	x As Single,
	y As Single,
	filePath As String
)
public:
ImageElement(
	float x, 
	float y, 
	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
filePath (String)
The image file path

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