Click or drag to resize
Pdftools logo

PageTrimBox Property

The trim box of the page.

The trim box (PDF 1.3) defines the intended dimensions of the finished page after trimming. It may be smaller than the media box to allow for production-related content, such as printing instructions, cut marks, or colour bars. The default value is the page's crop box.

This property is if the page contains no explicit trim box.


Namespace: PdfTools.Toolbox.Pdf
Assembly: PdfTools.Toolbox (in PdfTools.Toolbox.dll) Version: 1.3.0+2e7887cb8ae45c4d911ad975ad001ac2f1f257d8
Syntax
C#
public Rectangle? TrimBox { get; }

Property Value

NullableRectangle
Exceptions
ExceptionCondition
InvalidOperationExceptionif the page has already been closed
See Also