PlainTextContentControl.Range Property
Gets a Range that represents the contents of the PlainTextContentControl.
Namespace: Microsoft.Office.Tools.Word
Assembly: Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)
Syntax
'Declaration
ReadOnly Property Range As Range
Range Range { get; }
Property Value
Type: Range
A Range that represents the contents of the PlainTextContentControl.
Remarks
Use the Range 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 PlainTextContentControl, use the Text 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.
See Also
Reference
PlainTextContentControl Interface
Microsoft.Office.Tools.Word Namespace