Partager via


Shape.IncrementTop Method

Moves the specified shape vertically by the specified number of points.

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

Syntax

'Declaration
Sub IncrementTop ( _
    Increment As Single _
)
'Usage
Dim instance As Shape
Dim Increment As Single

instance.IncrementTop(Increment)
void IncrementTop(
    float Increment
)

Parameters

  • Increment
    Type: System.Single

    Required Single. Specifies how far the shape object is to be moved vertically in points. A positive value moves the shape down; a negative value moves it up.

See Also

Reference

Shape Interface

Shape Members

Microsoft.Office.Interop.Excel Namespace