EditingType Property

Applies To

ShapeNode object.

Description

If the specified node is a vertex, this property returns a value that indicates how changes made to the node affect the two segments connected to the node. Can be one of the following MsoEditingType constants: msoEditingAuto, msoEditingCorner, msoEditingSmooth, or msoEditingSymmetric. If the node is a control point for a curved segment, this property returns the editing type of the adjacent vertex. Read-only Long.

Remarks

This property is read-only. Use the SetEditingType method to set the value of this property.

Example

This example changes all corner nodes to smooth nodes in shape three on myDocument. Shape three must be a freeform drawing.

Set myDocument = Worksheets(1)
With myDocument.Shapes(3).Nodes
    For n = 1 to .Count
        If .Item(n).EditingType = msoEditingCorner Then
            .SetEditingType n, msoEditingSmooth
        End If
    Next
End With