THPDFPageAssemblyInfo Record
回報配冊式多來源頁面組裝的開啟、重新開啟、尖峰檔案與已附加頁面計數器
宣告
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為空時保持為零