PageTrimBox Property
Gets or sets trim box of the page.

Namespace: Aspose.Pdf
Assembly: Aspose.PDF (in Aspose.PDF.dll) Version: 21.9.0
Syntax
public Rectangle TrimBox { get; set; }

Property Value

Type: Rectangle
Examples
Example demonstrates how to get trim box of the page:
C#
Document document = new Document("sample.pdf");
Rectangle trimBox = document.Pages[1].TrimBox;
See Also