DiagramLite Programmer's Guide
Utilities.UnionNonEmptyRects Method
See Also
 





Returns the smallest possible rectangle containing both of the specified rectangles, but only if the rectangles are non-empty.

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

 Syntax

C#  Copy Code

public static Rect UnionNonEmptyRects (
    Rect rc1,
    Rect rc2
)

Visual Basic  Copy Code

Public Shared Function UnionNonEmptyRects( _
    rc1 As Rect, _
    rc2 As Rect _
) As Rect

 Parameters

rc1

The first rectangle.

rc2

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