AngleFromXAxis method

Returns the angle of a line from the X-axis; The angle is measured counterclockwise.

Syntax

object.AngleFromXAxis(Point1, Point2)

Where:

     object is the Utility object;

     Point1 is the start point of the line;

     Point2 is the end point of the line;