ESRI.ArcGIS.ADF.Web
GeometryInExtent(Geometry,Envelope) Method
See Also  Send Feedback
ESRI.ArcGIS.ADF.Web.Geometry Namespace > Utility Class : GeometryInExtent(Geometry,Envelope) 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.

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.