Click or drag to resize

PdfPageCropBoxOriginal Property

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

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

Property Value

Type: PdfRectangle
Remarks

This crop box is the original crop box this PdfPage had when it was created or loaded into RAD PDF. As this is all that RAD PDF considered when creating or loading the document, it represents the maximum crop box size for this PdfPage.

If the page is never cropped in RAD PDF or CropPage(0, 0, 0, 0) is called, CropBox and CropBoxOriginal are the same.

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