Click or drag to resize

PdfPageObjectCropBox Property

(Optional; inheritable) A rectangle, expressed in default user space units, that shall define the visible region of default user space.

When the page is displayed or printed, its contents shall be clipped (cropped) to this rectangle and then shall be imposed on the output medium in some implementation-defined manner (see 14.11.2, "Page Boundaries").

Default value: the value of MediaBox.

Value of this property might be if this is an instance of a PdfPages, but it should never be if this is an instance of a PdfPage.

Namespace:  GemBox.Pdf
Assembly:  GemBox.Pdf (in GemBox.Pdf.dll) Version: 10.0.35.1002
Syntax
public PdfRectangle CropBox { get; set; }

Property Value

Type: PdfRectangle
A rectangle, expressed in default user space units, that shall define the visible region of default user space.
See Also