Previous Document Next Document
ShapeRange.Move

Sub Move(DeltaX As Double, DeltaY As Double)

Member of ShapeRange

The Move method moves all of the shapes in the range according to the offest you specify.

Parameters
Description
DeltaX
Specifies the horizontal distance to move a range of shapes
DeltaY
Specifies the vertical distance to move a range of shapes

The following code example moves all of the shapes on the active page by 2" to the right:

Sub Test() 
 ActivePage.Shapes.All.Move 2, 0 
End Sub 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.