THPDFContentSemanticCompareInfo Record

Reports the verdict and the first differing event of a semantic comparison between two content streams

Declaration

THPDFContentSemanticCompareInfo= record
  Left: THPDFContentSemanticStatistics;
  Right: THPDFContentSemanticStatistics;
  FirstDifferentEvent: Integer;
  Equivalent: boolean;
end;

Unit

HPDFContentStream

Fields

FieldPurpose
LeftNormalization statistics of the left stream
RightNormalization statistics of the right stream
FirstDifferentEventZero-based index of the first differing normalized event, counted by scanning the canonical byte forms; -1 before comparison, when either side failed, or when the streams are equivalent
EquivalentTrue when both streams normalize to the same canonical byte form within the number tolerance

Usage notes

Related APIs