Object Model Reference : Classes : S : ShapeRange : Methods : ShapeRange.Move |
Sub Move(DeltaX As Double, DeltaY As Double)
Member of ShapeRange
The Move method moves all the shapes in a shape range according to the specified offset.
Parameter
|
Description
|
DeltaX
|
Specifies the horizontal distance to move the shape range
|
DeltaY
|
Specifies the vertical distance to move the shape range
|
The following VBA example moves all the shapes on the active page by 2" to the right.
Sub Test() |
ActivePage.Shapes.All.Move 2, 0 |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.