Partager via


Shape.Top Property

Returns or sets a single-precision floating-point number that represents the distance from the top edge of the shape's bounding box to the top edge of the document. Read/write.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.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.PowerPoint Namespace