CFontDialog::IsStrikeOut

更新 : 2007 年 11 月

選択されているフォントが取り消し線付きで表示されているかどうかを調べます。

BOOL IsStrikeOut( ) const;

戻り値

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

使用例

// Is the selected font displayed with strikeout?
CFontDialog dlg;
if (dlg.DoModal() == IDOK)
{
   BOOL strikeout = dlg.IsStrikeOut();
   TRACE(_T("Is the selected font strikeout? %d\n"), strikeout);
}

必要条件

ヘッダー : afxdlgs.h

参照

参照

CFontDialog クラス

階層図

CFontDialog::GetCurrentFont

その他の技術情報

CFontDialog のメンバ