Object Model Reference : Classes : N : Node : Methods : Node.GetPosition |
Sub GetPosition(PositionX As Double, PositionY As Double)
Member of Node
The GetPosition method returns the x- and y-coordinates of a node.
• |
The SetPosition method moves a node to new coordinates.
|
The following VBA example draws a small ellipse 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 2013 Corel Corporation. All rights reserved.