Search
InternalUtils.UnionRects Method
See Also
 





Returns the smallest possible rectangle containing both of the specified rectangles.

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public static RectangleF UnionRects (
    RectangleF a,
    RectangleF b
)

Visual Basic  Copy Code

Public Shared Function UnionRects( _
    a As RectangleF, _
    b As RectangleF _
) As RectangleF

 Parameters

a

The first rectangle.

b

The second rectangle.

 Return Value

A .NET RectangleF instance that represents the union of the specified arguments.

 Remarks

This method supports the NetDiagram infrastructure and is not intended to be used directly from your code.

 See Also