ArcObjects Library Reference (SpatialAnalyst)  

IGPSACellSize.SetCellSize Method

Sets the type and value of cell size in the GP Spatial Analyst.

[Visual Basic .NET]
Public Sub SetCellSize ( _
    ByVal envType As esriRasterEnvSettingEnum, _
    [ByRef CellSizeProvider As Object] _
)
[C#]
public void SetCellSize (
    esriRasterEnvSettingEnum envType,
    ref object CellSizeProvider
);
[C#]

Optional Values

CellSizeProvider   To indicate that this parameter is undefined, first define a variable object Missing = Type.Missing; then pass this in as ref Missing.
[C++]
HRESULT SetCellSize(
  esriRasterEnvSettingEnum envType,
  VARIANT* CellSizeProvider
);
[C++]

Parameters

envType [in]

  envType is a parameter of type esriRasterEnvSettingEnum

CellSizeProvider [optional]   CellSizeProvider is a parameter of type VARIANT

  To indicate this parameter is undefined pass a reference to a VARIANT with type VT_ERROR and scode value of DISP_E_PARAMNOTFOUND.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Spatial Analyst Extension.

See Also

IGPSACellSize Interface