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


ISurfaceOp2.Contour Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > GeoAnalyst > ESRI.ArcGIS.GeoAnalyst > Interfaces > IS > ISurfaceOp2 Interface > ISurfaceOp2.Contour Method
ArcGIS Developer Help

ISurfaceOp2.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], _
    [ByRef zFactor As Object] _
) As IGeoDataset
[C#]
public IGeoDataset Contour (
    IGeoDataset GeoDataset,
    double interval,
    ref object base,
    ref object zFactor
);
[C++]
HRESULT Contour(
  IGeoDataset* GeoDataset,
  double interval,
  Variant* base,
  Variant* zFactor
);
[C++]
Parameters
GeoDataset [in]

GeoDataset is a parameter of type IGeoDataset* interval [in]
interval is a parameter of type double base [in, optional]
base is a parameter of type VARIANT* zFactor [in, optional]
zFactor is a parameter of type VARIANT*

Product Availability

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

Remarks

geoData

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

[zFactor]

The number of ground x, y Units in one surface ZUnit

The geoDataset ZUnits are multiplied by the specified zFactor to adjust the output Raster ZUnits to another unit of measure. If no zFactor is specified the value of the zFactor is 1. Higher z values will result in a more exaggerated relief (surface) and thus in a more extreme shading.

 

See Also

ISurfaceOp2 Interface