HighlightItem

HighlightItem class

Represents a highlight, a part of the text which is usually used to explain the context of the found text in the search functionality.

public sealed class HighlightItem

Properties

Name Description
Position { get; } Gets the position in the document text.
Text { get; } Gets the text of the highlight.

Remarks

An instance of HighlightItem class is used as return value of GetHighlight method, LeftHighlightItem and RightHighlightItem properties. See the usage examples there.

See Also