ArcObjects Library Reference (GeoAnalyst)  

ISurfaceOp.ContourAsPolyline Method

Creates a single contour or isoline that passes through a specified point on a surface.

[Visual Basic .NET]
Public Sub ContourAsPolyline ( _
    ByVal GeoDataset As IGeoDataset, _
    ByVal inputPoint As IPoint, _
    ByRef contourLine As IPolyline, _
    ByRef elevation As Double _
public void ContourAsPolyline (
    IGeoDataset GeoDataset,
    IPoint inputPoint,
    ref IPolyline contourLine,
    ref double elevation
HRESULT ContourAsPolyline(
  IGeoDataset* GeoDataset,
  IPoint* inputPoint,
  IPolyline** contourLine,
  double* elevation


GeoDataset [in]

  GeoDataset is a parameter of type IGeoDataset

inputPoint [in]

  inputPoint is a parameter of type IPoint

contourLine [out]

  contourLine is a parameter of type IPolyline

elevation [out]   elevation is a parameter of type double

Product Availability

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



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


an input point feature defined by a point object using IPoint interface which the resulting contour or isoline will pass through


the output contour or isoline polyline object which represents the constant cell values of the input point.


an output double value which represents the cell value that the input point intersects with in the input GeoDataset.  This value therefore can be used to describe the value of the output contour line


See Also

ISurfaceOp Interface