Partager via


Shape.Top Property

The distance from the top edge of the topmost shape in the shape range to the top edge of the worksheet. Read/write Single.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property Top As Single
    Get
    Set
'Usage
Dim instance As Shape
Dim value As Single

value = instance.Top

instance.Top = value
float Top { get; set; }

Property Value

Type: System.Single

See Also

Reference

Shape Interface

Shape Members

Microsoft.Office.Interop.Excel Namespace