THPDFContentSemanticStatistics 记录

汇集为单个内容流计算出的规范化操作计数、状态深度和规范字节大小

声明

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从流中解析出的令牌
OperationCount在流中发现的操作符
StateOperationCount规范化期间跟踪的图形状态操作符
RedundantStateOperationCount未改变规范状态的状态操作
NormalizedEventCount规范事件序列中的事件
MaximumGraphicsStateDepth解释过程中到达的最深图形状态嵌套
CanonicalBytes为比较而生成的规范字节形式的大小
ErrorOffset解析或求值失败处的字节偏移
LimitExceeded操作数或规范字节上限中止本轮处理时为 True
Valid解析或求值失败时为 False
DiagnosticValid 为 False 时的失败描述

使用说明

相关 API