Platform SDK: Agent

IAgentCommandsEx::GetFontSize

HRESULT GetFontSize(
   long * plFontSize  // address of variable for font size 
);                    // for font displayed in character's pop-up menu

Retrieves the value for the size of the font displayed in the character's pop-up menu.

plFontSize
The address of a value that receives the size of the font.

The point size of the font returned corresponds to the size defined to display text in the character's pop-up menu when your client is input-active. The default value for the font setting is based on the menu font setting for the character's language ID setting, or if not set, the user default language setting.

This property applies only to your client application's use of the character; the setting does not affect other clients of the character or other characters of your client application.

See Also

IAgentCommandsEx::SetFontSize, IAgentCommandsEx::SetFontName