Udostępnij za pośrednictwem


PlainTextContentControl.Range Property

Definition

Gets a Range that represents the contents of the PlainTextContentControl.

public:
 property Microsoft::Office::Interop::Word::Range ^ Range { Microsoft::Office::Interop::Word::Range ^ get(); };
public Microsoft.Office.Interop.Word.Range Range { get; }
member this.Range : Microsoft.Office.Interop.Word.Range
Public ReadOnly Property Range As Range

Property Value

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.

Applies to