Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Text property
Collapse the table of content
Expand the table of content

Range.Text property

Returns or sets the text in the specified range.

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.

Show:
© 2015 Microsoft