ShapeRange.RelativeHorizontalPosition Property (Word)

Specifies the relative horizontal position of a range of shapes. Read/write WdRelativeHorizontalPosition .

Syntax

expression. RelativeHorizontalPosition

expression An expression that represents a 'ShapeRange' object.

Example

This example repositions the selected shape object.

With Selection.ShapeRange 
 .Left = InchesToPoints(0.6) 
 .RelativeHorizontalPosition = wdRelativeHorizontalPositionPage 
 .Top = InchesToPoints(1) 
 .RelativeVerticalPosition = wdRelativeVerticalPositionParagraph 
End With

See also

ShapeRange Collection Object