OLEObject.Top Property (2007 System)

Gets or sets the distance, in points, from the top edge of the OLEObject to the top of row 1 (on a worksheet) or the top of the chart area (on a chart).

Namespace:  Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel.v9.0 (in Microsoft.Office.Tools.Excel.v9.0.dll)

Syntax

'Declaration
Public Property Top As Double
'Usage
Dim instance As OLEObject 
Dim value As Double 

value = instance.Top

instance.Top = value
public double Top { get; set; }
public:
property double Top {
    double get ();
    void set (double value);
}
public function get Top () : double 
public function set Top (value : double)

Property Value

Type: System.Double
The distance, in points, from the top edge of the OLEObject to the top of row 1 (on a worksheet) or the top of the chart area (on a chart).

.NET Framework Security

See Also

Reference

OLEObject Class

OLEObject Members

Microsoft.Office.Tools.Excel Namespace