Class
OfficeTextSnippet
OfficeIMO.TextAnalysis
A window of field text around the matches of a hit.
Inheritance
- object
- OfficeTextSnippet
Usage
Explore 1 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 1
Inherited Methods
Properties
public string Text { get; } #Snippet text, cut at grapheme cluster boundaries.
public int SourceStart { get; } #Offset of the snippet in the field text.
public bool StartsMidText { get; } #True when field text precedes the snippet.
public bool EndsMidText { get; } #True when field text follows the snippet.
public IReadOnlyList<OfficeTextHighlight> Highlights { get; } #Highlights inside the snippet, with offsets relative to OfficeTextSnippet.Text.