SearchResult
Describes a single successful text match, exposing its range, extracted string value, and convenience helpers for layout info.
Definition
Namespace:Telerik.Windows.Documents.Fixed.Search
Assembly:Telerik.Windows.Documents.Fixed.dll
Syntax:
public class SearchResult
Inheritance: objectSearchResult
Properties
Gets a sentinel instance returned when no match is found.
public static SearchResult NotFound { get; }
The value represents a default SearchResult instance when there is no search result found.
Gets the range spanning the matched text in the document.
public TextRange Range { get; }
The value represents a TextRange object describing the start and end positions of the match.
Methods
Gets the fixed page containing the match.
Gets the layout bounding rectangle of the first word in the match (for hit highlighting).
public Rect GetWordBoundingRect()
Returns the bounding rectangle of the result word.
Returns the matched string value.
public override string ToString()
A string that represents the current object.
Overrides: