Pdfviewer - ITextDiffAnnotation

30 Sep 20261 minute to read

Represents a semantic text difference annotation generated during a PDF text comparison operation.
Each annotation contains metadata describing the detected difference and an associated HighlightSettings object.

Properties

annotation HighlightSettings

Specifies the highlight annotation settings corresponding to the
detected difference.

textDiffData string

Specifies the text content associated with the detected difference.

textDiffId number

Specifies the unique identifier assigned to the text difference.
Related modifications across compared documents may share the same
identifier to establish a logical relationship.

textDiffType TextDiffType

Specifies the type of detected text difference.
Possible values include:

  • Added
  • Deleted
  • Modified