ImageElement(Single, Single, Single, Single, String) Constructor

Creates an ImageElement from the specified file that will be rendered at the position (x,y) with the (destWidth,destHeight) size keeping the aspect ratio.

Definition

Namespace: EvoPdfClient
Assembly: EvoPdfClient (in EvoPdfClient.dll) Version: 11.0.0.0 (11.0.0.0)
C#
public ImageElement(
	float x,
	float y,
	float destWidth,
	float destHeight,
	string filePath
)

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
destHeight  Single
The destination rectangle height
filePath  String
The image file path

See Also