ExpertPdf Html to Pdf Converter Library
ImageElement Constructor (x, y, destWidth, imageObj)
NamespacesExpertPdf.HtmlToPdf.PdfDocumentImageElementImageElement(Single, Single, Single, Image)
ExpertPdf Html to Pdf Converter Library
Creates an ImageElement from the specified System.Drawing.Image object that will be rendered at the position (x,y) with the specified width destWidth and the height auto determined to keep the aspect ratio.
Declaration Syntax
C#Visual BasicVisual C++
public ImageElement(
	float x,
	float y,
	float destWidth,
	Image imageObj
)
Public Sub New ( 
	x As Single,
	y As Single,
	destWidth As Single,
	imageObj As Image
)
public:
ImageElement(
	float x, 
	float y, 
	float destWidth, 
	Image^ imageObj
)
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
imageObj (Image)
The image file path

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