ArcObjects Library Reference (GeoAnalyst)  

IRasterAnalysisEnvironment.GetCellSize Method

Gets the type and value of cell size in the RasterAnalysis.

[Visual Basic .NET]
Public Sub GetCellSize ( _
    ByRef envType As esriRasterEnvSettingEnum, _
    ByRef CellSize As Double _
)
[C#]
public void GetCellSize (
    ref esriRasterEnvSettingEnum envType,
    ref double CellSize
);
[C++]
HRESULT GetCellSize(
  esriRasterEnvSettingEnum* envType,
  double* CellSize
);
[C++]

Parameters

envType [out]

  envType is a parameter of type esriRasterEnvSettingEnum

CellSize [out]   CellSize is a parameter of type double

Product Availability

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

Remarks

envType

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

esriRasterEnvMaxOf - largest cell size of all input datasets. This is the default.

esriRasterEnvMinOf - smallest cell size of all input datasets

esriRasterEnvValue - User specified value.

cellsize

returns a value that specifying the current environment setting for cellsize

See Also

IRasterAnalysisEnvironment Interface