| TextRangeGetText Method |
(TOM 2 only)
Gets the text in this range according to the specified conversion flags.
Namespace: TextObjectModelAssembly: ManagedTOM2 (in ManagedTOM2.dll) Version: 1.0.5577.41188
Syntax public string GetText(
[OptionalAttribute] PlainTextFlags options
)
Public Function GetText (
<OptionalAttribute> options As PlainTextFlags
) As String
public:
String^ GetText(
[OptionalAttribute] PlainTextFlags options
)
Parameters
- options (Optional)
- Type: TextObjectModelPlainTextFlags
The flags controlling how the text is retrieved.
Return Value
Type:
StringExceptions Exception | Condition |
---|
NotSupportedException |
The underlying COM object does not implement the ITextRange2 interface.
|
See Also