Object Model Reference : Classes : S : SubPath : Methods : SubPath.Move |
Sub Move([DeltaX As Double], [DeltaY As Double])
Member of SubPath
The Move method changes the position of a curves subpath by applying the specified offset.
The following VBA example moves each subpath of the selected curve randomly.
Sub Test() |
Dim spath As SubPath |
For Each spath In ActiveShape.Curve.Subpaths |
spath.Move Rnd() * 2 - 1, Rnd() * 2 - 1 |
Next spath |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.