Winnovative HTML to PDF Converter

ImageElementInitPdfImage Method (Single, Single, Single, Single, String)

Winnovative HTML to PDF Converter for .NET Documentation
Initializes an image element from a file keeping the aspect ratio. This method must be called on empty image elements

Namespace:  Winnovative
Assembly:  wnvhtmltopdf (in wnvhtmltopdf.dll) Version: 17.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

Reference