MindFusion.Wpf Pack Programmer's Guide
InternalUtils.UnionRects Method
See Also
 





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

Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf

 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.

 Remarks

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

 See Also

InternalUtils Members
InternalUtils Class
MindFusion.Diagramming.Wpf Namespace