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스트림에서 파싱한 토큰 수
OperationCount스트림에서 찾은 연산자 수
StateOperationCount정규화하는 동안 추적한 그래픽 상태 연산자 수
RedundantStateOperationCount정준 상태를 바꾸지 않은 상태 연산 수
NormalizedEventCount정준 이벤트 시퀀스의 이벤트 수
MaximumGraphicsStateDepth해석하는 동안 도달한 가장 깊은 그래픽 상태 중첩
CanonicalBytes비교용으로 만든 정준 바이트 형태의 크기
ErrorOffset파싱이나 평가가 실패한 바이트 오프셋
LimitExceeded연산 한도나 정준 바이트 한도가 패스를 멈췄을 때 True
Valid파싱이나 평가가 실패했을 때 False
DiagnosticValid가 False일 때의 실패 설명

사용 참고 사항

관련 API