HighlightItem class
Leave feedback
On this page
Represents a highlight, a part of the text which is usually used to explain the context of the found text in the search functionality.
The HighlightItem type exposes the following members:
| Property | Description |
|---|---|
| position | Gets the position in the document text. |
| text | Gets the text of the highlight. |
An instance of HighlightItem class is used as return value
of Parser.get_highlight method,
SearchResult.left_highlight_item and SearchResult.right_highlight_item properties.
See the usage examples there.
- module
groupdocs.parser.data - class
HighlightItem
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.