CFontDialog::IsUnderline

更新 : 2007 年 11 月

選択されているフォントが下線付きかどうかを調べます。

BOOL IsUnderline( ) const;

戻り値

選択されているフォントの特性として下線付きが有効になっている場合は、0 以外を返します。それ以外の場合は 0 を返します。

使用例

// Is the selected font underlined?
CFontDialog dlg;
if (dlg.DoModal() == IDOK)
{
   BOOL underline = dlg.IsUnderline();
   TRACE(_T("Is the selected font underlined? %d\n"), underline);
}

必要条件

ヘッダー : afxdlgs.h

参照

参照

CFontDialog クラス

階層図

CFontDialog::GetCurrentFont

その他の技術情報

CFontDialog のメンバ