Initializes an image element from a file. This method must be called on empty image elements
            
Namespace: EvoPdf
Assembly: evohtmltopdf (in evohtmltopdf.dll) Version: 10.0.0.0
Syntax
public void InitPdfImage( float x, float y, float width, float height, bool keepAspectRatio, string imageFile )
Parameters
- x
 - Type: SystemSingle
The image element X coordinate in points - y
 - Type: SystemSingle
The image element Y coordinate in points - width
 - Type: SystemSingle
The image element width in points - height
 - Type: SystemSingle
The image element height in points - keepAspectRatio
 - Type: SystemBoolean
A flag indicating if the aspect ratio of the image is kept when the image is rendered in PDF - imageFile
 - Type: SystemString
The full path of the image file 
See Also