Units Property

The Units property returns or sets the angle axis units (degrees, radians, grads). Returns a Long.

Syntax

object.Units

object.Units = Units

 

Parameter Type Description
Units Long required, grfAngleUnits

 

Example 1

This example shows how to set the angle units to degrees.

Graph2.Axis1.Units = grfDegrees

Example 2

This example shows how to return the angle units.

Debug.Print Graph2.Axis1.Units

 

Used by: AutoAxis object