THPDFPageAssemblyInfo Record
Reports open, reopen, peak file, and appended page counters for collated multi-source page assembly
Declaration
THPDFPageAssemblyInfo= record
SourceCount: Integer;
SourceOpenCount: Integer;
SourceReopenCount: Integer;
PeakOpenFileCount: Integer;
AppendedPageCount: Integer;
end;
Unit
HPDFDoc
Fields
| Field | Purpose |
|---|---|
SourceCount | Number of entries in the Sources array passed to AssembleCollatedPages |
SourceOpenCount | Total number of source document opens performed while walking the collation rounds |
SourceReopenCount | Opens of a source that had been opened before and closed again by the least-recently-used eviction |
PeakOpenFileCount | Maximum number of source documents simultaneously open; bounded by the MaxOpenFiles parameter |
AppendedPageCount | Pages appended into the target document across all sources |
Usage notes
- The assembler keeps at most
MaxOpenFilessources open and closes the least recently used one, soSourceReopenCountgrows when the limit forces repeated reopening - Compare
AppendedPageCountwith the sum of requested page ranges to confirm every planned page was appended - All counters are zeroed at the start of the assembly run and stay zero when
Sourcesis empty