Search
Utilities.UnionRects Method
See Also
 






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

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public static Rect UnionRects (
    Rect a,
    Rect b
)

Visual Basic  Copy Code

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

 Parameters

a

The first rectangle.

b

The second rectangle.

 Return Value

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

 See Also