Click or drag to resize
Pdf Library for .NET

PdfImageElement(Single, Single, Single, String) Constructor

Creates an image element at (x, y) from a file with the specified destination width. Height preserves aspect ratio.

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

Parameters

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