PageCropBox Property
Gets or sets crop box of the page.

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

Property Value

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