Previous Document Next Document

Object Model Reference : Classes : N : Node : Properties : Node.Type


Node.Type

Property Type As cdrNodeType

Description

Member of Node

The Type property returns or specifies the node type as cusp, smooth, or symmetrical. The Type property returns a value of cdrNodeType.

VBA example

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

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.