Previous Document Next Document

Object Model Reference : Classes : N : NodeRange : Methods : NodeRange.SetType


NodeRange.SetType

Sub SetType(Type As cdrNodeType)

Description

Member of NodeRange

The SetType method sets the type for all nodes in a node range.

The SetType method returns a value of cdrNodeType.

Parameter
Description
Type
Specifies the node type for all nodes in a node range

VBA example

The following VBA example changes all nodes in the active shape to cusp nodes.

Sub Test()
 ActiveShape.Curve.Nodes.All.SetType cdrCuspNode
End Sub

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.