This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > SpatialAnalyst > ESRI.ArcGIS.SpatialAnalyst > Interfaces > IG > IGPSACellSize Interface > IGPSACellSize.SetCellSize Method (ArcObjects .NET 10.5 SDK) |
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 );
Optional Values
[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.