Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Drawing Namespace / GeometryHelper Class / CalculateAngle Method
The first point of the line.
The second point of the line.


In This Topic
    CalculateAngle Method
    In This Topic
    Calculates the rotation of the line.
    Syntax
    'Declaration
     
    
    Public Shared Function CalculateAngle( _
       ByVal firstPoint As Point, _
       ByVal secondPoint As Point _
    ) As Double
    'Usage
     
    
    Dim firstPoint As Point
    Dim secondPoint As Point
    Dim value As Double
     
    value = GeometryHelper.CalculateAngle(firstPoint, secondPoint)
    public static double CalculateAngle( 
       Point firstPoint,
       Point secondPoint
    )

    Parameters

    firstPoint
    The first point of the line.
    secondPoint
    The second point of the line.
    See Also