This document is archived and information here might be outdated. Recommended version. |
The angle between this line and the positive x-axis.
[Visual Basic .NET]
Public ReadOnly Property Angle As Double
[C#]
public double Angle {get;}
[C++]
HRESULT get_Angle(
System.Double* outAngle
);
[C++] Parameters outAngle [out, retval]
outAngle is a parameter of type double*
The following Visual Basic example gets the angle of a line and converts it to degrees :
dAngleDegree = (180 * pLine.Angle) / Pi
Where Pi = 4 * Atn(1)