รีเคิร์ด THPDFContentSemanticStatistics

รวบรวมจำนวน operation ที่ผ่านการ normalize ความลึกของ state และขนาดไบต์ canonical ที่คำนวณได้จากสตรีมคอนเทนต์หนึ่งเส้น

การประกาศ

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จำนวนโอเปอเรเตอร์ graphics state ที่ติดตามระหว่างการ normalize
RedundantStateOperationCountจำนวน operation ของ state ที่ไม่เปลี่ยน canonical state
NormalizedEventCountจำนวนเหตุการณ์ในลำดับเหตุการณ์ canonical
MaximumGraphicsStateDepthความลึกสูงสุดของการซ้อน graphics state ที่เจอขณะ interpretation
CanonicalBytesขนาดของรูปแบบไบต์ canonical ที่สร้างไว้เทียบกัน
ErrorOffsetตำแหน่งไบต์ที่การแยกวิเคราะห์หรือการประเมินผลล้มเหลว
LimitExceededTrue เมื่อลิมิตจำนวน operation หรือลิมิตไบต์ canonical ทำให้รอบนี้หยุดก่อนเสร็จ
ValidFalse เมื่อการแยกวิเคราะห์หรือการประเมินผลล้มเหลว
Diagnosticคำอธิบายความล้มเหลวเมื่อ Valid เป็น False

หมายเหตุการใช้งาน

API ที่เกี่ยวข้อง