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


ISurfaceOp2.Slope2 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.Slope2 Method
ArcGIS Developer Help

ISurfaceOp2.Slope2 Method

Calculates Slope.

[Visual Basic .NET]
Public Function Slope2 ( _
    ByVal GeoDataset As IGeoDataset, _
    ByVal SlopeType As esriGeoAnalysisSlopeEnum, _
    [ByVal slopeMethod As esriGeoAnalysisSlopeMethodEnum], _
    [ByVal zFactor As Double], _
    [ByVal ZMetersPerUnit As Double] _
) As IGeoDataset
[C#]
public IGeoDataset Slope2 (
    IGeoDataset GeoDataset,
    esriGeoAnalysisSlopeEnum SlopeType,
    esriGeoAnalysisSlopeMethodEnum slopeMethod,
    double zFactor,
    double ZMetersPerUnit
);
[C++]
HRESULT Slope2(
  IGeoDataset* GeoDataset,
  esriGeoAnalysisSlopeEnum SlopeType,
  esriGeoAnalysisSlopeMethodEnum slopeMethod,
  double zFactor,
  double ZMetersPerUnit
);
[C++]
Parameters
GeoDataset [in]

GeoDataset is a parameter of type IGeoDataset* SlopeType [in]
SlopeType is a parameter of type esriGeoAnalysisSlopeEnum slopeMethod [in, optional]
slopeMethod is a parameter of type esriGeoAnalysisSlopeMethodEnum zFactor [in, optional]
zFactor is a parameter of type double ZMetersPerUnit [in, optional]
ZMetersPerUnit is a parameter of type double

Product Availability

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

See Also

ISurfaceOp2 Interface