API Documentation > CorelDRAW > 2025-v26 > Node > IVGNode
Node.PositionY property
Gets or sets the vertical position (Y) of the node on the page, according to the document's reference point
Syntax:
Property Get PositionY() As Double
Property Let PositionY(ByVal Value As Double)
Remarks:
The PositionY property returns or specifies the y-coordinate of a node relative to its reference point.
Examples:
The following VBA example draws a small ellipse over each node in the selected curve and colors each ellipse according to the node type.
Sub ShowNodes()
Dim n As Node
Dim s As Shape
For Each n In ActiveShape.Curve.Nodes
  Set s = ActiveLayer.CreateEllipse2(n.PositionX, n.PositionY, 0.05)
  Select Case n.Type

 Case cdrSymmetricalNode


s.Fill.UniformColor.RGBAssign 0, 0, 255

 Case cdrSmoothNode


s.Fill.UniformColor.RGBAssign 255, 255, 0

 Case cdrCuspNode


s.Fill.UniformColor.RGBAssign 255, 0, 0
  End Select
Next n 
End Sub