CFontDialog::IsItalic

BOOL IsItalic( ) const;

Return Value

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

Remarks

Call this function to determine if the selected font is italic.

Example

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

CFontDialog OverviewClass MembersHierarchy Chart

See Also   CFontDialog::GetCurrentFont