![]() |
![]() |
Node.GetPosition
Sub GetPosition(PositionX As Double, PositionY As Double)
Member of Node
The GetPosition method returns the horizontal and y-coordinates of a node.
The SetPosition method moves the node to new coordinates.
The following code example draws small ellipses over each node in the selected curve:
Sub Test() Dim n As Node Dim x As Double, y As Double For Each n In ActiveShape.Curve.Nodes n.GetPosition x, y ActiveLayer.CreateEllipse2 x, y, 0.05 Next n End Sub
![]() |
![]() |
![]() |
Copyright 2007 Corel Corporation. All rights reserved.