Selection.TextRange Property
Returns a TextRange object that represents the selected text. Read-only.
Namespace: Microsoft.Office.Interop.PowerPoint
Assembly: Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)
Syntax
'Declaration
ReadOnly Property TextRange As TextRange
Get
'Usage
Dim instance As Selection
Dim value As TextRange
value = instance.TextRange
TextRange TextRange { get; }
Property Value
Type: Microsoft.Office.Interop.PowerPoint.TextRange
Remarks
You can construct a text range from a selection when the presentation is in slide view, normal view, outline view, notes page view, or any master view.