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