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


IMensuration.GetAzimuthAngle Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IM > IMensuration Interface > IMensuration.GetAzimuthAngle Method
ArcGIS Developer Help

IMensuration.GetAzimuthAngle Method

Computes the azimuth angle of the line connecting the two input map points.

[Visual Basic .NET]
Public Sub GetAzimuthAngle ( _
    ByVal pFirstPoint As IPoint, _
    ByVal pSecondPoint As IPoint, _
    ByRef ppAngleMeasurement As IAngularMeasurement _
)
[C#]
public void GetAzimuthAngle (
    IPoint pFirstPoint,
    IPoint pSecondPoint,
    ref IAngularMeasurement ppAngleMeasurement
);
[C++]
HRESULT GetAzimuthAngle(
  IPoint* pFirstPoint,
  IPoint* pSecondPoint,
  IAngularMeasurement** ppAngleMeasurement
);
[C++]
Parameters
pFirstPoint [in]

pFirstPoint is a parameter of type IPoint* pSecondPoint [in]
pSecondPoint is a parameter of type IPoint* ppAngleMeasurement [out]
ppAngleMeasurement is a parameter of type IAngularMeasurement**

Product Availability

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

See Also

IMensuration Interface