Platform SDK: Agent

IAgentBalloonEx::SetNumCharsPerLine

HRESULT SetNumCharsPerLine(
   long lCharsPerLine,  // number of characters per line setting
);

Sets the number of characters per line that can be displayed in the character's word balloon.

lCharsPerLine
Number of lines to display in the word balloon.

The minimum setting is 8 and the maximum is 255. If the text specified in the Speak or Think method exceeds the size of the current balloon, Agent automatically scrolls the text in the balloon.

The default setting is based on settings when the character is compiled with the Microsoft Agent Character Editor.

See Also

IAgentBalloon::GetNumCharsPerLine