THPDFContentSemanticStatistics Record

收集為單一內容串流計算的正規化運算計數、狀態深度與標準位元組大小

宣告

THPDFContentSemanticStatistics= record
  TokenCount: Integer;
  OperationCount: Integer;
  StateOperationCount: Integer;
  RedundantStateOperationCount: Integer;
  NormalizedEventCount: Integer;
  MaximumGraphicsStateDepth: Integer;
  CanonicalBytes: Int64;
  ErrorOffset: Integer;
  LimitExceeded: boolean;
  Valid: boolean;
  Diagnostic: AnsiString;
end;

單元

HPDFContentStream

欄位

欄位用途
TokenCount從串流解析出的 token 數
OperationCount串流中找到的運算子數
StateOperationCount正規化期間追蹤到的圖形狀態運算子數
RedundantStateOperationCount未改變標準狀態的狀態運算數
NormalizedEventCount標準事件序列中的事件數
MaximumGraphicsStateDepth解譯期間到達的最深圖形狀態巢狀層數
CanonicalBytes為比較而產生的標準位元組形式大小
ErrorOffset解析或求值失敗處的位元組偏移
LimitExceeded運算或標準位元組上限中止本次處理時為 True
Valid解析或求值失敗時為 False
DiagnosticValid 為 False 時的失敗說明

使用說明

相關 API