THotPDF.AssembleCollatedPages Method

Appends source pages in collated chunks while enforcing a caller-selected maximum number of simultaneously open source documents

Declaration

function AssembleCollatedPages(
    const Sources: array of THPDFPageAssemblySource;
    SourceChunkSize, MaxOpenFiles: Integer;
    out AInfo: THPDFPageAssemblyInfo): Integer;

The result reports appended pages, source reopen activity, and peak open-file usage

Object Graph Editing and Page Assembly