IAgentBalloon::SetFontSize

[Microsoft Agent is deprecated as of Windows 7, and may be unavailable in subsequent versions of Windows.]

HRESULT SetFontSize(
   long lFontSize  // font size displayed in word balloon
); 

Sets the size of the font displayed in the word balloon.

  • Returns S_OK to indicate the operation was successful.

lFontSize

The size of the font.

The default font size used in a character's word balloon is defined in the Microsoft Agent Character Editor. You can change it with IAgentBalloon::SetFontSize. However, the user can override the font size setting for all characters using the Microsoft Agent property sheet.

See Also

IAgentBalloon::GetFontSize