Click or drag to resize
Pdf Library for .NET

PdfImageElement(Single, Single, String) Constructor

Creates an image element at (x, y) from a file. Width fits the client area (capped at the image's natural width in points); height preserves aspect ratio.

Namespace: SelectPdf.Universal
Assembly: SelectPdf.Universal (in SelectPdf.Universal.dll) Version: 26.4
Syntax
public PdfImageElement(
	float x,
	float y,
	string fileName
)

Parameters

x  Single
The X coordinate, in client-area coordinates.
y  Single
The Y coordinate, in client-area coordinates.
fileName  String
Path to the image file.
See Also