Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Drawing Namespace / IShapeNodes Interface / SetSegmentType Method
The node whose segment type is to be set.
Specifies if the segment is straight or curved.


In This Topic
    SetSegmentType Method
    In This Topic
    Sets the segment type of the segment that follows the node specified by index. If the node is a control point for a curved segment, this method sets the segment type for that curve.
    Syntax
    'Declaration
     
    
    Sub SetSegmentType( _
       ByVal index As Integer, _
       ByVal segmentType As SegmentType _
    ) 
    'Usage
     
    
    Dim instance As IShapeNodes
    Dim index As Integer
    Dim segmentType As SegmentType
     
    instance.SetSegmentType(index, segmentType)
    void SetSegmentType( 
       int index,
       SegmentType segmentType
    )

    Parameters

    index
    The node whose segment type is to be set.
    segmentType
    Specifies if the segment is straight or curved.
    Remarks
    Note that this may affect the total number of nodes by inserting or deleting adjacent nodes.
    See Also