GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoLabeledLink Class / LayoutMidLabel Method
passed on from LayoutChildren
In This Topic
    LayoutMidLabel Method
    In This Topic
    Decide which segment should get the middle label, and call PositionMidLabel to perform that positioning.
    Syntax
    protected virtual void LayoutMidLabel( 
       GoObject childchanged
    )

    Parameters

    childchanged
    passed on from LayoutChildren
    Remarks
    If there are an odd number of segments in the link's stroke, this calls PositionMidLabel with the endpoints of the middle segment. Otherwise with an even number of segments, it uses the longer of the two middle segments.
    See Also