GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoDrawing Class / RemoveSegment Method
a valid insertion index greater than zero
In This Topic
    RemoveSegment Method
    In This Topic
    Remove the action at the given index.
    Syntax
    public void RemoveSegment( 
       int idx
    )

    Parameters

    idx
    a valid insertion index greater than zero
    Remarks
    This will remove the action and point for the index idx. If the action is a GoDrawingAction.CurveTo (open or closed), this will remove the three points of this Bezier curve segment. This method does not simply remove a StartAt action, causing two figures to be combined--call JoinFigure to do that.
    See Also