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

IRasterAnalysisEnvironment.GetCellSize Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > GeoAnalyst > ESRI.ArcGIS.GeoAnalyst > Interfaces > IR > IRasterAnalysisEnvironment Interface > IRasterAnalysisEnvironment.GetCellSize Method
ArcGIS Developer Help

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 _
public void GetCellSize (
    ref esriRasterEnvSettingEnum envType,
    ref double CellSize
HRESULT GetCellSize(
  esriRasterEnvSettingEnum* envType,
  System.Double* CellSize
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.



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.


returns a value that specifying the current environment setting for cellsize

See Also

IRasterAnalysisEnvironment Interface