ArcObjects Library Reference (GeoAnalyst)  

ISurfaceOp.Contour Method

Creates contours or isolines based off of a constant interval from a base contour.

[Visual Basic .NET]
Public Function Contour ( _
    ByVal GeoDataset As IGeoDataset, _
    ByVal interval As Double, _
    [ByRef base As Object] _
) As IGeoDataset
[C#]
public IGeoDataset Contour (
    IGeoDataset GeoDataset,
    double interval,
    ref object base
);
[C#]

Optional Values

base   To indicate that this parameter is undefined, first define a variable object Missing = Type.Missing; then pass this in as ref Missing.
[C++]
HRESULT Contour(
  IGeoDataset* GeoDataset,
  double interval,
  VARIANT* base,
  IGeoDataset** outGeoDataset
);
[C++]

Parameters

GeoDataset [in]

  GeoDataset is a parameter of type IGeoDataset

interval [in]   interval is a parameter of type double base [optional]   base 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.

outGeoDataset [out, retval]

  outGeoDataset is a parameter of type IGeoDataset

Product Availability

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

Remarks

geoDataset

an input Raster, RasterDataset, RasterBand, or RasterDescriptor to be contoured

interval

the contour interval to be used. This can be any positive number

[base]

the value from which to begin generation of contours. Contours are generated above and below this value as needed to cover the entire value range of the geoData. If none is specified, then the contouring will begin at 0

 

See Also

ISurfaceOp Interface