ITextRange.GetText(TextGetOptions, String) 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 text in a text range according to the specified conversion flags.
public:
void GetText(TextGetOptions options, [Out] Platform::String ^ & value);
void GetText(TextGetOptions const& options, [Out] winrt::hstring const& & value);
public void GetText(TextGetOptions options, out string value);
Public Sub GetText (options As TextGetOptions, ByRef value As String)
Parameters
- options
- TextGetOptions
The conversion flags that control how the text is retrieved.
- value
-
String
Platform::String
winrt::hstring
The text in the text range.