PdfPageTreeObject.CropBox Property
Specifies the crop box imposing the page boundaries displayed in a PDF Viewer.
Namespace: DevExpress.Pdf
Assembly: DevExpress.Pdf.v24.2.Core.dll
NuGet Package: DevExpress.Pdf.Core
#Declaration
public PdfRectangle CropBox { get; set; }
#Property Value
Type | Description |
---|---|
Pdf |
A Pdf |
#Remarks
The crop box defines the region to which the contents of the page shall be clipped (cropped) when displayed or printed.
The default setting is the page’s PdfPageTreeObject.MediaBox value.
Note
The PDF page unit of measurement is points, which measures 1/72 of an inch (0.
#Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the CropBox property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.