EditingType 属性

       

如果指定的结点是顶点,此项属性返回单个值,该值表示对结点所作的更改是如何影响连接到该结点的两段。如果该结点是弯曲段的控制点,此项属性返回邻近顶点的编辑状态。只读。MsoEditingType 类型。

expression.EditingType

expression  必选。该表达式返回“应用于”列表中的对象之一。

说明

该属性为只读。请使用 SetEditingType 方法设置该属性的值。

示例

本示例将 myDocument 中第三个形状中所有的角的结点更改为光滑结点。第三个形状必须是任意多边形。

Set myDocument = ActivePresentation.Slides(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