AxesFont Option

 

The AxesFont option changes the font for the axes labels and titles. The OptionValue is set to the name of any font installed on the computer.  

 

Syntax

object.Construct(“CreateModule”)

object.Option(“SourceModule”, “data file name”)

object.Option(“Type”, "Axes")

object.Do() or object.DoOnce()

 

object.Construct(“ModifyModule”)

object.Option(“Module”, “Axes”)

object.Option(“AxesFont”, “OptionValue”)

object.Do() or object.DoOnce()

 

Example

This example shows how to change the font face for the axes labels and titles to Times New Roman.

 

  CommandApi.Construct ("ModifyModule")

  CommandApi.Option ("Module", "Axes")

  CommandApi.Option ("AxesFont", "Times New Roman")

  CommandApi.Do()

 

Used by: Axes module

 

 

See Also

Automation Model