THPDFPageCyclePolicy Type
Controls how page composition maps overlay and underlay positions onto source pages when the target range runs longer than the source
Declaration
THPDFPageCyclePolicy= (pcpStop, pcpRepeat, pcpClamp,
pcpReverse);
Unit
HPDFDoc
Values
| Value | Meaning |
|---|---|
pcpStop |
Positions beyond the last source page resolve to no page, so composition comes to a stop for that role |
pcpRepeat |
Positions wrap round with a modulo so that the source pages cycle from the beginning again |
pcpClamp |
Positions beyond the last source page go on resolving to that last source page |
pcpReverse |
Positions ping-pong back and forth across the source pages rather than jumping back to the first page |
Usage notes
ComposeLoadedPageRangestakes two values of this type,OverlayCyclePolicyandUnderlayCyclePolicy, applying them independently- A single-page source resolves every position to that one page under
pcpClampandpcpReverse - Only
pcpStopleaves target pages with no overlay or underlay content once the source pages run out