EditingType Property

Microsoft Publisher Visual Basic

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.

MsoEditingType can be one of these MsoEditingType constants.
msoEditingAuto An automatically adjusted node.
msoEditingCorner A corner node.
msoEditingSmooth A smooth curve node.
msoEditingSymmetric A symmetric curve node.

expression.EditingType

expression    Required. An expression that returns one of the objects in the Applies To list.

Remarks

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

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