Partager via


ShapeNodes.SetEditingType Method

Sets the editing type of the specified node.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
Sub SetEditingType ( _
    Index As Integer, _
    EditingType As MsoEditingType _
)
'Usage
Dim instance As ShapeNodes
Dim Index As Integer
Dim EditingType As MsoEditingType

instance.SetEditingType(Index, EditingType)
void SetEditingType(
    int Index,
    MsoEditingType EditingType
)

Parameters

  • Index
    Type: System.Int32
    The node whose editing type is to be set.

Remarks

If the node specified by Index is a control point for a curved segment, this method sets the editing type of the node adjacent to it that joins two segments. Note that, depending on the editing type, this method may affect the position of adjacent nodes.

The EditingType parameter value can be one of these MsoEditingType constants.

msoEditingAuto

msoEditingCorner

msoEditingSmooth

msoEditingSymmetric

See Also

Reference

ShapeNodes Interface

ShapeNodes Members

Microsoft.Office.Interop.PowerPoint Namespace