long overrideDefaultRotation(float angle)

This method changes the current default text rotation help by the TextAPI object to angle.  The angle argument is in degrees counter-clockwise from the horizontal.

The default rotation is used whenever a new text feature is created, via any of the following methods:

The initial default rotation is zero, i.e. text is horizontal.

This method returns 0 upon success, and returns an error code if angle is not between 0 and 360 degrees, inclusive.