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