THotPDF.GetLoadedStreamFilterStatistics Method
Reports bounded document-wide stream-filter usage and can optionally decode each stream to collect stage and output byte counts
声明
function GetLoadedStreamFilterStatistics(DecodeStreams: boolean; out AInfo: THPDFLoadedStreamFilterStatistics): boolean;
单元
HPDFDoc
参数
| 名称 | 用途 |
|---|---|
DecodeStreams | When True, runs each supported decode pipeline to collect output and stage byte counts |
AInfo | Receives document-wide and per-filter-family statistics |
返回值
Returns True when at least one loaded stream was scanned
使用说明
- DecodeStreams=False scans dictionaries and encoded lengths without materialising lazy streams
- DecodeStreams=True uses the configured per-stream decode budget for each pipeline
- Per-family byte totals attribute complete pipelines to each participating family and are not additive across families