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)
Syntax
'Declaration
Property Text As String
string Text { get; set; }
Property Value
Type: System.String
The text in the RichTextContentControl.
Remarks
To access the formatting of the text in the control and other text properties, use the Range property.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.