FormattedText.GetPlainText(TextRange)
Method
Description:
Returns a substring of the text in a plain text form. The start and end of the substring is identified by a given .
Returns a substring of the text in a plain text form. The start and end of the substring is identified by a given .
Parameters
Parameter | Type | Description |
---|---|---|
textRange | TextRange | The given <a href="8a00baaf-8cb8-d9f0-e0a0-eaa5aa16e55e.htm">TextRange</a>. |
Return Value
Type | Description |
---|---|
String | The substring of the text in a plain text form. |
Exceptions
Exception | Condition |
---|---|
ArgumentException | This start index of this text range is not within the text range identifying the entire text. -or- The end of this text range is not within the text range identifying the entire text. |
ArgumentNullException | A non-optional argument was null |