This document is archived and information here might be outdated.  Recommended version.


IGPUtilities2.GetExtent Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGPUtilities2 Interface > IGPUtilities2.GetExtent Method
ArcGIS Developer Help

IGPUtilities2.GetExtent Method

Gets the type and value of extent of the given value.

[Visual Basic .NET]
Public Function GetExtent ( _
    ByVal pValue As IGPValue, _
    ByRef envType As esriGPExtentEnum _
) As IEnvelope
[C#]
public IEnvelope GetExtent (
    IGPValue pValue,
    ref esriGPExtentEnum envType
);
[C++]
HRESULT GetExtent(
  IGPValue* pValue,
  esriGPExtentEnum* envType
);
[C++]
Parameters
pValue [in]

pValue is a parameter of type IGPValue* envType [out]
envType is a parameter of type esriGPExtentEnum*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IGPUtilities2 Interface