RichTextContentControl.Text Property (2007 System)

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

See Also

Reference

RichTextContentControl Class

RichTextContentControl Members

Microsoft.Office.Tools.Word Namespace