Object Model Reference : Classes : S : SubPath : Methods : SubPath.SetPosition |
Sub SetPosition(PositionX As Double, PositionY As Double)
Member of SubPath
The SetPosition method sets the horizontal and vertical positions of a subpath head, treating the subpath as a separate object.
Parameter
|
Description
|
PositionX
|
Specifies, in document units, the x-coordinate of the subpaths starting point
|
PositionY
|
Specifies, in document units, the y-coordinate of the subpaths starting point
|
The following VBA example sets the horizontal and vertical positions of the first subpath in the active curve.
Sub App() |
With ActiveShape.Curve.Subpaths(1) |
.SetPosition 4, 4 |
End With |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.