Click or drag to resize
Pdf Library for .NET

PdfImageSection Constructor (Single, Single, Single, Single, Image)

Creates an image object that can be added to the header or footer templates of a pdf document.

Namespace:  SelectPdf
Assembly:  Select.Pdf (in Select.Pdf.dll) Version: 20.2
Syntax
public PdfImageSection(
	float x,
	float y,
	float width,
	float height,
	Image imageObj
)

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.
width
Type: SystemSingle
The destination rectangle width.
height
Type: SystemSingle
The destination rectangle height.
imageObj
Type: System.DrawingImage
The system image object.
Remarks
The image object is created from the specified Image object that will be rendered at the position (x,y) in the pdf header or footer with the specified destination width and height size.
See Also