RichTextContentControl.Text Property

Gets or sets the text in the RichTextContentControl.

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

string Text { get; set; }

Property Value

Type: System.String
The text in the RichTextContentControl.

To access the formatting of the text in the control and other text properties, use the Range property.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2015 Microsoft