ESRI.ArcGIS.ADF.Web
Union Method
See Also 
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.

See Also

© 2010 All Rights Reserved.