ArcObjects Library Reference (GeoAnalyst)  

IRasterAnalysisEnvironment.GetExtent Method

Gets the type and values of extent in the RasterAnalysis.

[Visual Basic .NET]
Public Sub GetExtent ( _
    ByRef envType As esriRasterEnvSettingEnum, _
    ByRef extent As IEnvelope _
)
[C#]
public void GetExtent (
    ref esriRasterEnvSettingEnum envType,
    ref IEnvelope extent
);
[C++]
HRESULT GetExtent(
  esriRasterEnvSettingEnum* envType,
  IEnvelope** extent
);
[C++]

Parameters

envType [out]

  envType is a parameter of type esriRasterEnvSettingEnum

extent [out]

  extent is a parameter of type IEnvelope

Product Availability

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

Remarks

envType

will return an enumeration constant specifying the raster extent environment settings for analysis. It can be of type,

esriRasterEnvMinOf Intersection of Inputs - All input feature extents are intersected and the extent common to all is used as the extent values for the study area. This is the default.

esriRasterEnvMaxOf - Union of Inputs - All input feature extents are combined and the outer extent of the union is used.

esriRasterEnvValue - Value - User specified values for the Left, Right, Top and Bottom extent (x, y values) of the study area.

extent

An envelope object supporting IEnvelope interface used to describe the values of the analysis extent.

See Also

IRasterAnalysisEnvironment Interface