Link Search Menu Expand Document

PageSetTrimBox Method (Single, Single, Single, Single)

Sets the trim rectangle of the page. The rectangle is in PDF units - Points (1 Point = 1/72 in.)

Namespace:Bytescout.PDF
Assembly: Bytescout.PDF (in Bytescout.PDF.dll) Version: 3.5.1.1204-master
Syntax
public void SetTrimBox(
	float left,
	float top,
	float width,
	float height
)

Parameters

left
Type: SystemSingle
Left (X) coordinate of the trim rectangle.
top
Type: SystemSingle
Top (Y) coordinate of the trim rectangle.
width
Type: SystemSingle
Width of the trim rectangle.
height
Type: SystemSingle
Height of the trim rectangle.
See Also

Reference