THPDFPageAssemblyInfo 记录
报告交错式多源页面组装的打开、重开、峰值文件和已追加页面计数
声明
THPDFPageAssemblyInfo= record
SourceCount: Integer;
SourceOpenCount: Integer;
SourceReopenCount: Integer;
PeakOpenFileCount: Integer;
AppendedPageCount: Integer;
end;
单元
HPDFDoc
字段
| 字段 | 用途 |
|---|---|
SourceCount | 传给 AssembleCollatedPages 的 Sources 数组中的条目数 |
SourceOpenCount | 逐轮处理期间执行源文档打开的总次数 |
SourceReopenCount | 重新打开先前因最近最少使用驱逐而关闭的源的次数 |
PeakOpenFileCount | 同时打开的源文档数量峰值;受 MaxOpenFiles 参数约束 |
AppendedPageCount | 所有来源追加进目标文档的页面数 |
使用说明
- 组装器最多保持
MaxOpenFiles个源打开并关闭最近最少使用的那个,因此上限迫使反复重开时SourceReopenCount会增长 - 把
AppendedPageCount与请求的页面范围之和对比,确认每个计划的页面都被追加 - 所有计数器在组装运行开始时清零,
Sources为空时保持为零