THotPDF.ComposeLoadedPageRanges Method

Maps overlay and underlay pages onto a target range with independent stop, repeat, clamp, or reverse cycling

Declaration

function ComposeLoadedPageRanges(OverlayDoc, UnderlayDoc: THotPDF;
    const TargetPageRange, OverlayPageRange,
    UnderlayPageRange: string;
    OverlayCyclePolicy, UnderlayCyclePolicy: THPDFPageCyclePolicy;
    out AInfo: THPDFPageCompositionInfo): Integer;

Imported page content is isolated as Form XObjects so each layer preserves its own graphics state and resources

Object Graph Editing and Page Assembly