CimAxisTicks.Font (property)

Gets and sets the font.
Syntax: Set IFontDisp* = object.Font
object.Font = IFontDisp*
Description: CimAxisTicks.Font is the font used when drawing the tick labels. The property returns the ambient font of the control container (e.g. CimView or VB) when using ambient font. If you change the property while using the ambient font, the property UseAmbientFont is set to False.

The value of this property defaults to the ambient font.


The following CimView script excerpt changes the font's italic state on the ticks of the first X axis:
cimOleObj.X(0).Ticks.Font.Italic = True
See Also: IFontDisp