ESRI.ArcGIS.ADF.Web.UI.WebControls.Layout
QueryEnvelope(IServerContext,ISpatialReference) Method
See Also 
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 IServerContext, _
   ByVal spatialRef As ISpatialReference _
) As IEnvelope
Visual Basic (Usage)Copy Code
Dim instance As Extent
Dim context As IServerContext
Dim spatialRef As ISpatialReference
Dim value As IEnvelope
 
value = instance.QueryEnvelope(context, spatialRef)
C# 
public IEnvelope QueryEnvelope( 
   IServerContext context,
   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.IEnvelope

See Also

© 2010 All Rights Reserved.