DiagramLite Programmer's Guide
Utilities.UnionRects Method
See Also
 





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

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming.Silverlight

 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 System.Windows.Rect instance that represents the union of the specified arguments.

 See Also

Utilities Members
Utilities Class
MindFusion.Diagramming Namespace