IAgentBalloon::GetNumLines

[Microsoft 代理程式在 Windows 7 中已被取代,且在後續版本的 Windows 中可能無法使用。]

HRESULT GetNumLines(
   long * pcLines  // address of variable for number of lines 
);                  // displayed in word balloon

擷取文字方塊中顯示的行數值。

  • 傳回S_OK,表示作業成功。

pcLines

接收所顯示行數的變數位址。

Microsoft Agent 伺服器會自動捲動文字方塊中針對口語輸出顯示的行。 字元字批註方塊的行數定義于 Microsoft Agent 字元編輯器中。 應用程式無法變更它。

另請參閱

IAgentBalloon::GetNumCharsPerLine