CimTitle.Font (property)

Gets and sets the font.
Syntax: Set IFontDisp* = object.Font
object.Font = IFontDisp*
Description: CimTitle.Font is the font used when drawing the title's text value. 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 control title font's italic state:
cimOleObj.Title.Font.Italic = True
See Also: IFontDisp