ESRI.ArcGIS.ADF.Web.UI.WebControls.Layout
QueryEnvelope(IServerContext,ISpatialReference) Method
See Also  Send Feedback
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > Extent Class > QueryEnvelope Method : QueryEnvelope(IServerContext,ISpatialReference) Method




context
The ServerContext to create the Envelope in.
spatialRef
The ISpatialReference to apply to this IEnvelope
Get an ESRI.ArcGIS.Geometry.Envelope with the same coordinates as this Extent with a Spatial Reference applied

Syntax

Visual Basic (Declaration) 
Public Overloads Function QueryEnvelope( _
   ByVal context As ESRI.ArcGIS.Server.IServerContext, _
   ByVal spatialRef As ESRI.ArcGIS.Geometry.ISpatialReference _
) As ESRI.ArcGIS.Geometry.IEnvelope
Visual Basic (Usage)Copy Code
Dim instance As Extent
Dim context As ESRI.ArcGIS.Server.IServerContext
Dim spatialRef As ESRI.ArcGIS.Geometry.ISpatialReference
Dim value As ESRI.ArcGIS.Geometry.IEnvelope
 
value = instance.QueryEnvelope(context, spatialRef)
C# 
public ESRI.ArcGIS.Geometry.IEnvelope QueryEnvelope( 
   ESRI.ArcGIS.Server.IServerContext context,
   ESRI.ArcGIS.Geometry.ISpatialReference spatialRef
)

Parameters

context
The ServerContext to create the Envelope in.
spatialRef
The ISpatialReference to apply to this IEnvelope

Return Value

The created Envelope object.T:ESRI.ArcGIS.Geometry.IEnvelope

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.