ShapeNode.EditingType property (Publisher)

If the specified node is a vertex, this property returns an MsoEditingType constant indicating how changes made to the node affect the two segments connected to the node. If the node is a control point for a curved segment, this property returns the editing type of the adjacent vertex. Read-only.

Syntax

expression.EditingType

expression A variable that represents a ShapeNode object.

Return value

MsoEditingType

Remarks

Use the SetEditingType method to set the value of this property.

The EditingType property value can be one of the MsoEditingType constants declared in the Microsoft Office type library.

Example

This example changes all corner nodes to smooth curve nodes in the third shape in the active publication. The shape must be a freeform drawing.

Dim intNode As Integer 
 
With ActiveDocument.Pages(1).Shapes(3).Nodes 
 For intNode = 1 to .Count 
 If .Item(intNode).EditingType = msoEditingCorner Then 
 .SetEditingType Index:=intNode, _ 
 EditingType:=msoEditingSmooth 
 End If 
 Next 
End With 

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.