THPDFPageBoundary Type
Selects which page boundary box 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; also the default for the PrintArea, PrintClip, ViewArea and ViewClip properties |
pbCropBox |
The /CropBox: the page area viewers display by default |
pbBleedBox |
The /BleedBox: the page area the output device should include as bleed when printing |
pbTrimBox |
The /TrimBox: the area of the finished page after trimming |
pbArtBox |
The /ArtBox: the area the page content is intended to occupy |
Usage notes
- Loaded-page box methods such as
GetLoadedPageBox,GetLoadedAllPageBoxes,GetLoadedPageBoxRectandSetLoadedPageBoxtake a value of this type to pick the target box entry - The four viewer-preference properties
PrintArea,PrintClip,ViewAreaandViewClipuse this type and default topbMediaBox - Each value maps to the matching PDF name such as
/CropBoxin the page dictionary