ESRI.ArcGIS.ADF.Web
GeometryInExtent Method
See Also 
ESRI.ArcGIS.ADF.Web.Geometry Namespace > Utility Class : GeometryInExtent Method




geometry
The geometry to use for testing.
extent
The extent to use for testing.
Checks if a geometry intersects or encloses an extent.

Syntax

Visual Basic (Declaration) 
Public Shared Function GeometryInExtent( _
   ByVal geometry As Geometry, _
   ByVal extent As Envelope _
) As Boolean
Visual Basic (Usage)Copy Code
Dim geometry As Geometry
Dim extent As Envelope
Dim value As Boolean
 
value = Utility.GeometryInExtent(geometry, extent)
C# 
public static bool GeometryInExtent( 
   Geometry geometry,
   Envelope extent
)

Parameters

geometry
The geometry to use for testing.
extent
The extent to use for testing.

Return Value

True if geometry intersects the extent, false otherwise.

See Also

© 2010 All Rights Reserved.