Initializes an image element from a file keeping the aspect ratio. This method must be called on empty image elements
Namespace: Winnovative.ExcelToPdf
Assembly: wnvexceltopdf (in wnvexceltopdf.dll) Version: 10.0.0.0
Syntax
public void InitPdfImage( float x, float y, float width, float height, 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 - imageFile
- Type: SystemString
The full path of the image file
See Also