Upravit

Sdílet prostřednictvím


Shape.Nodes property (Word)

Returns a ShapeNodes collection that represents the geometric description of the specified shape.

Syntax

expression.Nodes

expression Required. A variable that represents a Shape object.

Example

This example adds a smooth node with a curved segment after node four in shape three in the active document. Shape three must be a freeform drawing with at least four nodes.

With ActiveDocument.Shapes(3).Nodes 
 .Insert Index:=4, SegmentType:=msoSegmentCurve, _ 
 EditingType:=msoEditingSmooth, X1:=210, Y1:=100 
End With

See also

Shape Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.