Click or drag to resize

PdfPageCropBox Property

Gets a value representing the visible crop box of this PdfPage.

Namespace:  RadPdf.Data.Document.Pages
Assembly:  RadPdf (in RadPdf.dll) Version: 3.48.0.0 (3.48.0.0)
Syntax
public PdfRectangle CropBox { get; }

Property Value

Type: PdfRectangle
Remarks

This crop box uses the PDF document's coordinate system. The crop box is defined relative to an arbitrary orgin (0, 0). Typically this origin is at the bottom left of the PdfPage, but the PDF specification does not require it. The PDF coordinate system is bottom-up, unlike the coordinate system of HTML or RAD PDF. As such, it is expected for Bottom to be a smaller value than Top.

The properties of the PdfRectangle are in pixels. These values can be converted to inches using Dpi.

See Also