Accusoft.PdfXpressSdk Namespace > TextMatch Class : MatchedText Property |
'Declaration Public ReadOnly Property MatchedText As String
public string MatchedText {get;}
public: __property string* get_MatchedText();
This property returns the text of the subtring specified by the TextMatchOptions.BeginTextOffset and TextMatchOptions.EndTextOffset properties of the TextMatchOptions object that was used to generate this TextMatch.
The TextMatchOptions.ReturnCompleteWords can affect the value this property even when identical offsets are used. When TextMatchOptions.ReturnCompleteWords is false the text of this property will reflect the characters within the specified character-index range. When TextMatchOptions.ReturnCompleteWords is true the text of this property will represent complete words, possibly overlapping the specified character-index range.