Creates the smallest possible third rectangle that can contain both of two rectangles that form a union.

Namespace:  EGIS.ShapeFileLib
Assembly:  EGIS.ShapeFileLib (in EGIS.ShapeFileLib.dll)

Syntax

Visual Basic
Public Shared Function Union ( _
	a As RectangleD, _
	b As RectangleD _
) As RectangleD
C#
public static RectangleD Union(
	RectangleD a,
	RectangleD b
)
Visual C++
public:
static RectangleD Union(
	RectangleD a, 
	RectangleD b
)
JavaScript
EGIS.ShapeFileLib.RectangleD.union = function(a, b);

Parameters

a
Type: EGIS.ShapeFileLib..::..RectangleD
A rectangle to union.
b
Type: EGIS.ShapeFileLib..::..RectangleD
A rectangle to union.

Return Value

A third RectangleD structure that contains both of the two rectangles that form the union.

See Also