Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Drawing Namespace / IShape Interface / RerouteConnections Method


In This Topic
    RerouteConnections Method (IShape)
    In This Topic
    Reroutes all connectors attached to the specified shape; if the specified shape is a connector, it's rerouted.
    Syntax
    'Declaration
     
    
    Sub RerouteConnections() 
    'Usage
     
    
    Dim instance As IShape
     
    instance.RerouteConnections()
    void RerouteConnections()
    Remarks
    Reroutes connectors so that they take the shortest possible path between the shapes they connect. To do this, the IShapeBase.RerouteConnections method may detach the ends of a connector and reattach them to different connecting sites on the connected shapes. If this method is applied to a connector, only that connector will be rerouted. If this method is applied to a connected shape, all connectors to that shape will be rerouted.
    See Also