Export (0) Print
Expand All
Expand Minimize

Selection.Text Property

Returns or sets the text in the specified selection.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

string this { get; set; }

Property Value

Type: System.String

The Text property returns the plain, unformatted text of the selection or range. When you set this property, the text of the range or selection is replaced.

Community Additions

ADD
Show:
© 2015 Microsoft