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


IRasterAnalysisEnvironment.SetCellSize 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.SetCellSize Method
ArcGIS Developer Help

IRasterAnalysisEnvironment.SetCellSize Method

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

[Visual Basic .NET]
Public Sub SetCellSize ( _
    ByVal envType As esriRasterEnvSettingEnum, _
    [ByRef cellSizeProvider As Object] _
)
[C#]
public void SetCellSize (
    esriRasterEnvSettingEnum envType,
    ref object cellSizeProvider
);
[C++]
HRESULT SetCellSize(
  esriRasterEnvSettingEnum envType,
  Variant* cellSizeProvider
);
[C++]
Parameters
envType [in]

envType is a parameter of type esriRasterEnvSettingEnum cellSizeProvider [in, optional]
cellSizeProvider is a parameter of type VARIANT*

Product Availability

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

Remarks

envType

An enumeration type specifying the raster cellsize environment settings for analysis.  All subsequent results will be to the value specified. It can be of type

esriRasterEnvMaxOf � The largest cell size of all input raster datasets that are specifed in the function. This is the default. 

This option is not suitable for methods such as IInterpolationOp::IDW, IDensityOp:KernalDensity etc. where features are the only inputs. Use esriRasterEnvValue instead.

esriRasterEnvMinOf - Smallest cell size of all input raster datasets.

This option is not suitable for methods such as IInterpolationOp::IDW, IDensityOp:KernalDensity etc. where features are the only inputs. Use esriRasterEnvValue instead

esriRasterEnvValue - Any user specified value for the cell size. 

Use this option to specify a particular value for a cell size or for methods such as IInterpolationOp::IDW, IDensityOp:KernalDensity etc. where features are the only input.

[cellSizeProvider]

A specified value (double) or RasterDataset that is used to provide the cellsize environment value.

 

See Also

IRasterAnalysisEnvironment Interface