Search
InternalUtils.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
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public static RectangleF UnionNonEmptyRects (
    RectangleF rc1,
    RectangleF rc2
)

Visual Basic  Copy Code

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

 Parameters

rc1

The first rectangle.

rc2

The second rectangle.

 Return Value

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

 Remarks

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

 See Also