GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoSubGraph Class / ComputeCollapsedRectangle Method
a SizeF in document coordinates, normally the result of a call to ComputeCollapsedSize
In This Topic
    ComputeCollapsedRectangle Method
    In This Topic
    Given a desired collapsed size, return the expected collapsed area, ignoring any collapsed margins.
    Syntax
    protected virtual RectangleF ComputeCollapsedRectangle( 
       SizeF s
    )

    Parameters

    s
    a SizeF in document coordinates, normally the result of a call to ComputeCollapsedSize

    Return Value

    a RectangleF in document coordinates that is passed to calls to SaveChildBounds, CollapseChild, and FinishCollapse.
    Remarks
    This depends on the result of a call to ComputeReferencePoint. See also the example in the description for LayoutHandle.
    See Also