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