THPDFPageDisplayList.CropBox Property
Exposes the visible region of the page: its /CropBox clipped to its /MediaBox, read while compiling the display list
Declaration
property CropBox: THPDFRectangle read FCropBox;
Unit
HPDFPageRenderer
Usage notes
- Without a /CropBox, or with one that does not overlap the /MediaBox, this is the /MediaBox; the rectangle is normalized so that
Left<RightandBottom<Top - Renderers derive the output size and the device transform from this box together with the page /Rotate value, so content outside it is not drawn
- Compiled paint-object bounds stay in page space and are not clipped to this box;
MediaBoxkeeps the /MediaBox itself