다음을 통해 공유


CFontDialog::IsItalic

선택한 글꼴에 기울임꼴 인지 여부를 확인 하려면이 함수를 호출 합니다.

BOOL IsItalic( ) const;

반환 값

선택한 글꼴 기울임꼴 특성 활성화 된 경우 0이 아닌. 그렇지 않으면 0입니다.

예제

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

요구 사항

헤더: afxdlgs.h

참고 항목

참조

CFontDialog 클래스

계층 구조 차트

CFontDialog::GetCurrentFont