Previous Document Next Document

Object Model Reference : Classes : S : ShapeRange : Methods : ShapeRange.Move


ShapeRange.Move

Sub Move(DeltaX As Double, DeltaY As Double)

Description

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

VBA example

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

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.