Specifies the crop box imposing the page boundaries displayed in a PDF Viewer.
NuGet Package: DevExpress.Pdf.Core
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.
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.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the CropBox property.
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.