Initializes an image element from a file. This method must be called on empty image elements
Namespace: EvoPdfAssembly: evohtmltopdf (in evohtmltopdf.dll) Version: 4.12.0.0
Syntax
| C# |
|---|
public void InitPdfImage( float x, float y, float width, float height, string imageFile ) |
| Visual Basic |
|---|
Public Sub InitPdfImage ( x As Single, y As Single, width As Single, height As Single, imageFile As String ) |
| Visual C++ |
|---|
public: void InitPdfImage( float x, float y, float width, float height, String^ imageFile ) |
Parameters
- x
- Type: System..::..Single
The image element X coordinate in points
- y
- Type: System..::..Single
The image element Y coordinate in points
- width
- Type: System..::..Single
The image element width in points
- height
- Type: System..::..Single
The image element height in points
- imageFile
- Type: System..::..String
The full path of the image file