IAgentBalloon::GetFontUnderline

[从 Windows 7 开始,Microsoft 代理已弃用,可能在后续版本的 Windows 中不可用。]

HRESULT GetFontUnderline(
   long * pbFontUnderline  // address of variable for underline setting
);                         // for font displayed in word balloon 

指示字气球中使用的字体是否设置了下划线样式。

  • 返回指示操作成功的S_OK。

pbFontUnderline

如果设置了字体下划线样式,则接收 True 的值的地址;否则为 False

字符字气球中使用的字体样式在 Microsoft 代理字符编辑器中定义。 应用程序无法更改它。 但是,用户可以使用 Microsoft 代理属性表覆盖所有字符的字体设置。