Gets the text identified by this TextMatch.
Read-write property
| Visual Basic |
|---|
Public Property MatchedText As String |
A string value which represents the text identified by this TextMatch.
This property returns the text of the substring specified by the BeginTextOffset and EndTextOffset properties of the TextMatchOptions object that was used to generate this TextMatch.
The ReturnCompleteWords can affect the value of this property even when identical offsets are used. When ReturnCompleteWords is false the text of this property will reflect the characters within the specified character-index range. When ReturnCompleteWords is true the text of this property will represent complete words, possibly overlapping the specified character-index range.