Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 1.19 KB

Word.ShapeNode.md

File metadata and controls

38 lines (25 loc) · 1.19 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
ShapeNode object (Word)
vbawd10.chm2509
vbawd10.chm2509
Word.ShapeNode
d5afb71a-a218-57f3-87f0-171094ba6610
06/08/2017
medium

ShapeNode object (Word)

Represents the geometry and the geometry-editing properties of the nodes in a user-defined freeform. 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.

Remarks

Use Nodes (Index), where Index is the node index number, to return a single ShapeNode object. If node one in shape three on the active document is a corner point, the following example makes it a smooth point. For this example to work, shape three must be a freeform.

With ActiveDocument.Shapes(3) 
 If .Nodes(1).EditingType = msoEditingCorner Then 
 .Nodes.SetEditingType 1, msoEditingSmooth 
 End If 
End With

See also

Word Object Model Reference

[!includeSupport and feedback]