OLEObject.Top Property (2003 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 (in Microsoft.Office.Tools.Excel.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; }

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).

Permissions

See Also

Reference

OLEObject Class

OLEObject Members

Microsoft.Office.Tools.Excel Namespace