PdfPage.TrimBox Property

Gets or sets the trim box of the page.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public PdfBox TrimBox { get; set; }
VB
Public Property TrimBox As PdfBox
	Get
	Set

Property Value

Type: PdfBox
The trim box of the page expressed in PDF's default user space coordinate system. In default user space the positive X axis extends horizontally to the right and the positive Y axis extends vertically upward.

Remarks

Default value: Equal to CropBox.

The trim box defines the intended dimensions of the finished page after trimming. It may be smaller than the MediaBox to allow for production-related content, such as printing instructions, cut marks, or color bars.

See Also