Property CropBox
- Namespace
- BitMiracle.Docotic.Pdf
- Assembly
- BitMiracle.Docotic.Pdf.dll
CropBox
Gets or sets the crop box of the page.
public PdfBox CropBox { get; set; }
Property Value
- PdfBox
The crop box of the page expressed in PDF's default user space coordinate system. In default user space the positive X axis extends horizontally to the right and the positive Y axis extends vertically upward.
Remarks
Default value: Equal to MediaBox.
The crop box defines the region to which the contents of the page are to be clipped (cropped) when displayed or printed.
The Partial PDF to image rendering section contains an example of using this property.
The Change page size section describes different ways to resize pages.