Back to Devexpress

PdfPage.TrimBox Property

officefileapi-devexpress-dot-pdf-dot-pdfpage-c3587665.md

latest1.9 KB
Original Source

PdfPage.TrimBox Property

Specifies the trim box defining the intended dimensions of the finished page after trimming.

Namespace : DevExpress.Pdf

Assembly : DevExpress.Pdf.v25.2.Core.dll

NuGet Package : DevExpress.Pdf.Core

Declaration

csharp
public PdfRectangle TrimBox { get; set; }
vb
Public Property TrimBox As PdfRectangle

Property Value

TypeDescription
PdfRectangle

A PdfRectangle object, specifying the trim box.

|

Remarks

To include the production-related content (e.g., printing instructions, cut marks or color bars), the trim box may be smaller than the PdfPageTreeObject.MediaBox setting.

The default setting is the page’s PdfPageTreeObject.CropBox value.

Note

The PDF page unit of measurement is points, which measures 1/72 of an inch (0.3528 mm). You can convert this unit of measurement, e.g., to pixels using the Units.PointsToPixelsF method.

See Also

ArtBox

BleedBox

CropBox

MediaBox

PdfPage Class

PdfPage Members

DevExpress.Pdf Namespace