Share via


Shape.Nodes Property

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

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
ReadOnly Property Nodes As ShapeNodes
    Get
'Usage
Dim instance As Shape
Dim value As ShapeNodes

value = instance.Nodes
ShapeNodes Nodes { get; }

Property Value

Type: Microsoft.Office.Interop.PowerPoint.ShapeNodes

Examples

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

Set myDocument = ActivePresentation.Slides(1)

With myDocument.Shapes(3).Nodes.Insert Index:=4, SegmentType:=msoSegmentCurve, _

        EditingType:=msoEditingSmooth, X1:=210, Y1:=100

End With

See Also

Reference

Shape Interface

Shape Members

Microsoft.Office.Interop.PowerPoint Namespace