ITextRangeProvider.GetText(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the plain text of the range.
public:
Platform::String ^ GetText(int maxLength);
winrt::hstring GetText(int const& maxLength);
public string GetText(int maxLength);
function getText(maxLength)
Public Function GetText (maxLength As Integer) As String
Parameters
- maxLength
-
Int32
int
The maximum length of the string to return. Use – 1 to specify an unlimited length.
Returns
The plain text of the text range, which might represent a portion of the full string truncated at the specified maxLength.