API Documentation > CorelDRAW > 2025-v26 > Node > IVGNode
Node.Type property
Gets or sets the node type
Syntax:
Property Get Type() As cdrNodeType
Property Let Type(ByVal Value As cdrNodeType)
Remarks:
The Type property returns or specifies the node type as cusp, smooth, or symmetrical. The Type property returns a value of cdrNodeType.
Examples:
The following VBA example converts all of the cusp nodes in the curve to smooth nodes.
Sub Test()
Dim n As Node
For Each n In ActiveShape.Curve.Nodes
  If n.Type = cdrCuspNode Then n.Type = cdrSmoothNode
  Next n

End Sub