Partager via


Shape.RelativeVerticalPosition Property (Word)

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.

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

See Also

Concepts

Shape Object

Shape Object Members