Compartir a través de


CFontDialog::IsStrikeOut

Call this function to determine if the selected font is displayed with strikeout.

BOOL IsStrikeOut( ) const;

Return Value

Nonzero if the selected font has the Strikeout characteristic enabled; otherwise 0.

Example

// 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);
}

Requirements

Header: afxdlgs.h

See Also

Reference

CFontDialog Class

Hierarchy Chart

CFontDialog::GetCurrentFont

Other Resources

CFontDialog Members