THPDFPageDisplayList.CropBox Property
Exposes the portion of the page that is actually seen: the /CropBox clipped against the /MediaBox, captured whilst the display list is compiled
Declaration
property CropBox: THPDFRectangle read FCropBox;
Unit
HPDFPageRenderer
Usage notes
- Where a /CropBox is absent, or fails to overlap the /MediaBox, the /MediaBox itself is used; the rectangle is normalised so that
Left<RightandBottom<Top - Renderers arrive at the output size and the device transform from this box together with the page /Rotate value, so content lying outside it is left undrawn
- Compiled paint-object bounds remain in page space and are not clipped against this box;
MediaBoxholds the /MediaBox itself