VScrollBar.ShapeRange Property (2007 System)
Gets a ShapeRange object that represents the VScrollBar.
Namespace: Microsoft.Office.Tools.Excel.Controls
Assembly: Microsoft.Office.Tools.Excel.v9.0 (in Microsoft.Office.Tools.Excel.v9.0.dll)
Syntax
'Declaration
Public ReadOnly Property ShapeRange As ShapeRange
'Usage
Dim instance As VScrollBar
Dim value As ShapeRange
value = instance.ShapeRange
public ShapeRange ShapeRange { get; }
public:
property ShapeRange^ ShapeRange {
ShapeRange^ get ();
}
public function get ShapeRange () : ShapeRange
Property Value
Type: ShapeRange
A ShapeRange object that represents the VScrollBar.
Examples
For a code example that demonstrates how to use this property, see Button.ShapeRange. All controls in the Microsoft.Office.Tools.Excel.Controls namespace have a functionally equivalent ShapeRange 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.