Shape Nodes Collection Methods

Name

Returns

Description

Count

Integer

Read-only. Returns the number of ShapeNode objects in the collection

Delete

Method. Parameters: Index As Long. Deletes the node specified by the Index

Insert

Method. Parameters: Index As Long, SegmentType As MsoSegmentType, EditingType As MsoEditingType, X1, Y1, X2, Y2, X3, Y3. Inserts a node or curved segment in the Nodes collection

SetEditing Type

Method. Parameters: Index As Long, EditingType As MsoEditingType. Sets the editing type for a node

SetPosition

Method. Parameters: Index As Long, X1 As Single, Y1 As Single. Moves the specified node

SetSegment Type

Method. Parameters: Index As Long, SegmentType As MsoSegmentType. Changes the segment type following the node

0 0

Post a comment