TextHighlightResult

TextHighlightResult

Overview

TextHighlightResult is a class in Aspose.PDF FOSS for Python.

Highlights created and matches skipped because their geometry was uncertain.

Properties: annotations, highlighted_count, matched_count, skipped_count, skipped_fragments.

Properties

NameTypeAccessDescription
highlighted_countintReadThe number of annotations created, one per placed match.
skipped_countintReadThe number of matches without reliable geometry.
matched_countintReadThe number of non-empty matches considered, including skipped ones.
annotationstuple[HighlightAnnotation, ...]ReadGets the annotations.
skipped_fragmentstuple[TextFragment, ...]ReadGets the skipped fragments.

See Also