CimTitle.UseAmbientFont (property)

Indicates the font's ambient state.
Syntax: Boolean = object.UseAmbientFont
object.UseAmbientFont = Boolean
Description: CimTitle.UseAmbientFont indicates if the title is 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 control title's ambient font:
cimOleObj.Title.UseAmbientFont = False