Click or drag to resize
Pdf Library for .NET
PdfImageElement Constructor (Single, Single, String)
Creates an image object that can be added to a pdf document.

Namespace: SelectPdf
Assembly: Select.Pdf (in Select.Pdf.dll) Version: 17.1
Syntax
public PdfImageElement(
	float x,
	float y,
	string fileName
)

Parameters

x
Type: SystemSingle
The X position where this element will be rendered.
y
Type: SystemSingle
The Y position where this element will be rendered.
fileName
Type: SystemString
The image file path.
Remarks
The image object is created from the specified file and will be rendered at the position (x,y) with the width equal to available width in page and the height auto determined to keep the initial aspect ratio.
See Also