Remarks

Nodes include the vertices between the segments of the freeform and the control points for curved segments. The ShapeNode object is a member of the collection. The ShapeNodes collection contains all the nodes in a freeform.

Example

Use (), where is the node index number, to return a single ShapeNodeobject. If node one in shape three on myDocumentis a corner point, the following example makes it a smooth point. For this example to work, shape three must be a freeform.

Visual Basic for Applications
Set myDocument = Worksheets(1) With myDocument.Shapes(3) If .Nodes(1).EditingType = msoEditingCorner Then .Nodes.SetEditingType 1, msoEditingSmooth End If End With
Shape Node Object ShapeNode shapenode object

See also:

index index