Upravit

Sdílet prostřednictvím


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

Shape Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.