Click or drag to resize
Pdf Library for .NET

PdfImageElement(Single, Single, Single, Single, String) Constructor

Creates an image object that can be added to a pdf document.

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

Parameters

x  Single
The X position where this element will be rendered.
y  Single
The Y position where this element will be rendered.
width  Single
The destination rectangle width.
height  Single
The destination rectangle height.
fileName  String
The image file path.
Remarks
The image object is created from the specified file that will be rendered at the position (x,y) with the specified destination width and height size.
See Also