GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / IGoRoutable Interface / UpdateRoute Method
In This Topic
    UpdateRoute Method (IGoRoutable)
    In This Topic
    Request the recalculation of the shape of this object.
    Syntax
    void UpdateRoute()
    Remarks

    If this GoObject is part of a GoDocument this should possibly delay the call to CalculateRoute by calling GoDocument.GoDocument.UpdateRoute. Otherwise this should just call CalculateRoute to determine a new route immediately.

    This is typically implemented as:

    
                public virtual void UpdateRoute() {
                  GoDocument doc = this.Document;
                  if (doc != null)
                    doc.UpdateRoute(this);
                  else
                    CalculateRoute();
                }
                

    See Also