CimAxisTicks.UseAmbientFont (property)

Indicates the font's ambient state.
Syntax: Boolean = object.UseAmbientFont
object.UseAmbientFont = Boolean
Description: CimAxisTicks.UseAmbientFont indicates if the tick labels are using the ambient font.

When the property is set to True, Font is automatically set to the control container's ambient font. When the control container's ambient font is changed, Font automatically reflects the change.

When the property is set to False, Font does not change. However, it no longer automatically reflects changes in the control container's ambient font.

The value of this property defaults to True.

Example

The following CimView script excerpt disables the ambient font on the ticks of the first X axis:
cimOleObj.X(0).Ticks.UseAmbientFont = False