Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the text in the RichTextContentControl.
Namespace: Microsoft.Office.Tools.Word
Assembly: Microsoft.Office.Tools.Word.v9.0 (in Microsoft.Office.Tools.Word.v9.0.dll)
Syntax
'Declaration
<BindableAttribute(True)> _
Public Property Text As String
'Usage
Dim instance As RichTextContentControl
Dim value As String
value = instance.Text
instance.Text = value
[BindableAttribute(true)]
public string Text { get; set; }
[BindableAttribute(true)]
public:
property String^ Text {
String^ get ();
void set (String^ value);
}
public function get Text () : String
public function set Text (value : String)
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.