ESRI.ArcGIS.ADF.Web
Union Method
See Also  Send Feedback
ESRI.ArcGIS.ADF.Web.Geometry Namespace > Envelope Class : Union Method




geometry
ADF Geometry object: Point, Multipoint, Envelope, Polyline or Polygon.
Enlarges the current envelope as necessary to cover the extent of the input geometry.

Syntax

Visual Basic (Declaration) 
Public Sub Union( _
   ByVal geometry As Geometry _
) 
Visual Basic (Usage)Copy Code
Dim instance As Envelope
Dim geometry As Geometry
 
instance.Union(geometry)
C# 
public void Union( 
   Geometry geometry
)

Parameters

geometry
ADF Geometry object: Point, Multipoint, Envelope, Polyline or Polygon.

Remarks

Be aware that this method modifies the Envelope, rather than returning a new Envelope. If you do not want to modify the Envelope, create a new one by using .Clone with the existing Envelope.

This method enlarges the current envelope so that its rectangular extent includes that of the input geometry. It examines the coordinates of the input geometry to determine the new extent.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.