Search
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 WpfDiagram infrastructure and is not intended to be used directly from your code.

 See Also