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


IGeneralizeOp.Expand Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (SpatialAnalyst)  

IGeneralizeOp.Expand Method

Expands the selected zones by a specified number of cells.

[Visual Basic .NET]
Public Function Expand ( _
    ByVal Raster As IGeoDataset, _
    ByVal numberCells As Integer, _
    ByRef zoneList As Object _
) As IGeoDataset
[C#]
public IGeoDataset Expand (
    IGeoDataset Raster,
    int numberCells,
    ref object zoneList
);
[C++]
HRESULT Expand(
  IGeoDataset* Raster,
  long numberCells,
  VARIANT* zoneList,
  IGeoDataset** Expand
);
[C++]

Parameters Raster [in]
Raster is a parameter of type IGeoDataset numberCells [in] numberCells is a parameter of type long zoneList [in] zoneList is a parameter of type VARIANT Expand [out, retval]
Expand is a parameter of type IGeoDataset

Product Availability

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

Remarks

geoDataset

an input Raster, RasterDataset, RasterBand, or RasterDescriptor

numberCellst

the number of cells to expand each selected zone

zoneList

a listing of values (array of type long) from the table of the input raster indicating the zones to select. The default field is Value.

 

See Also

IGeneralizeOp Interface