RichTextContentControl.Range Property

 

Gets a Range that represents the contents of the RichTextContentControl.

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

Range Range { get; }

Property Value

Type: Microsoft.Office.Interop.Word.Range

A Range that represents the contents of the RichTextContentControl.

Use the Range property to access all of the items in the RichTextContentControl. You can also use this property to access the formatting of the text in the control and other text properties. For more information about Range objects, see Word Object Model Overview.

To access only the text that is displayed in the RichTextContentControl, use the Text property.

Return to top
Show: