Share via


Shape.RelativeVerticalPosition Property

Word Developer Reference

Specifies the relative vertical position of a shape. Read/write WdRelativeVerticalPosition.

Syntax

expression.RelativeVerticalPosition

expression   A variable that represents a Shape object.

Example

This example repositions the first shape object in the active document.

Visual Basic for Applications
  With ActiveDocument.Shapes(1)
    .Left = InchesToPoints(0.6)
    .RelativeHorizontalPosition = wdRelativeHorizontalPositionPage
    .Top = InchesToPoints(1)
    .RelativeVerticalPosition = wdRelativeVerticalPositionParagraph
End With

See Also