Udostępnij za pośrednictwem


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

See Also

Reference

RichTextContentControl Interface

Microsoft.Office.Tools.Word Namespace