ShapeNode Interface
Represents the geometry and the geometry-editing properties of the nodes in a user-defined freeform.
Namespace: Microsoft.Office.Interop.PowerPoint
Assembly: Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)
Syntax
'Declaration
<GuidAttribute("91493487-5A91-11CF-8700-00AA0060263B")> _
Public Interface ShapeNode
'Usage
Dim instance As ShapeNode
[GuidAttribute("91493487-5A91-11CF-8700-00AA0060263B")]
public interface ShapeNode
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 ShapeNodes collection. The ShapeNodes collection contains all the nodes in a freeform.
Examples
Use Nodes(index), where index is the node index number, to return a single ShapeNode object. If node one in shape three on myDocument is a corner point, the following example makes it a smooth point. For this example to work, shape three must be a freeform.
Set myDocument = ActivePresentation.Slides(1)
With myDocument.Shapes(3)
If .Nodes(1).EditingType = msoEditingCorner Then
.Nodes.SetEditingType 1, msoEditingSmooth
End If
End With