Table of contents
TOC
Collapse the table of content
Expand the table of content

ShapeRange.Nodes Property (Publisher)

office 365 dev account|Last Updated: 8/24/2017
|
3 Contributors

Returns a ShapeNodes collection that represents the geometric description of the specified shape. Applies to Shape or ShapeRange objects that represent freeform drawings.

Syntax

expression. Nodes

_expression_A variable that represents a ShapeRange object.

Example

This example adds a smooth node with a curved segment after node four in shape three on page one. Shape three must be a freeform drawing with at least four nodes.

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