Collapse All Expand All Code: All Code: Multiple Code: Visual Basic Code: C# Code: Visual C++ Code: JavaScript

Visual Basic
C#
Visual C++
JavaScript

Easy GIS .NET API Reference
RectangleD..::.Union Method
RectangleD Structure See Also Send Feedback

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 (Declaration)
    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
    )

#### 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

RectangleD Structure
EGIS.ShapeFileLib Namespace