THPDFPageBoundary Type
Selects the page boundary box that a loaded-page box method reads or writes
Declaration
THPDFPageBoundary= (pbMediaBox, pbCropBox, pbBleedBox, pbTrimBox, pbArtBox); // Page boundaries
Unit
HPDFDoc
Values
| Value | Meaning |
|---|---|
pbMediaBox |
The /MediaBox: the full physical page area; it is also the default for the PrintArea, PrintClip, ViewArea and ViewClip properties |
pbCropBox |
The /CropBox: the page area that viewers display by default |
pbBleedBox |
The /BleedBox: the page area the output device ought to include as bleed when printing |
pbTrimBox |
The /TrimBox: the area of the finished page once trimming is done |
pbArtBox |
The /ArtBox: the area that the page content is meant to occupy |
Usage notes
- Loaded-page box methods such as
GetLoadedPageBox,GetLoadedAllPageBoxes,GetLoadedPageBoxRectandSetLoadedPageBoxtake a value of this type to choose the target box entry - The four viewer-preference properties
PrintArea,PrintClip,ViewAreaandViewClipuse this type and fall back onpbMediaBox - Each value maps onto the matching PDF name such as
/CropBoxin the page dictionary