THPDFDOMRenderStatistics Record
統計單次宣告式版面轉譯產生的區段、頁面、放置、拆分、傢飾繪製與結構元素數量
宣告
THPDFDOMRenderStatistics= record
SectionCount: Integer;
PageCount: Integer;
PlacementCount: Int64;
SplitCount: Int64;
HeaderDrawCount: Int64;
FooterDrawCount: Int64;
MaximumContinuationDepth: Integer;
StructureElementCount: Int64;
MarkedContentCount: Int64;
ArtifactCount: Int64;
end;
單元
HPDFLayoutDOM
欄位
| 欄位 | 用途 |
|---|---|
SectionCount | 從版面文件轉譯出的區段數 |
PageCount | 轉譯期間產生的頁面數 |
PlacementCount | 放置到頁面上的元件數 |
SplitCount | 跨越頁面邊界被拆分的元件數 |
HeaderDrawCount | 頁面裝飾階段發出的頁首傢飾繪製數 |
FooterDrawCount | 頁面裝飾階段發出的頁尾傢飾繪製數 |
MaximumContinuationDepth | 內容跨頁流動時使用的最深接續巢狀層數 |
StructureElementCount | 開啟標籤式 PDF 產生時發出的結構元素數 |
MarkedContentCount | 為加標籤而發出的標記內容序列數 |
ArtifactCount | 轉譯期間標記的工件數 |
使用說明
- 由
THPDFDOMRenderer.Render在目標文件關閉後傳回 - 除非文件啟用
GenerateStructure,否則結構、標記內容與工件計數保持為零 - 在版面測試中用
SplitCount與MaximumContinuationDepth評估分頁行為的規模