RichTextBox.ShapeRange Property

Definition

Gets a ShapeRange object that represents the RichTextBox.

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

Property Value

A ShapeRange object that represents the RichTextBox.

Examples

For a code example that demonstrates how to use this property, see Microsoft.Office.Tools.Excel.Controls.Button.ShapeRange. All controls in the Microsoft.Office.Tools.Excel.Controls namespace have a functionally equivalent ShapeRange property.

Applies to