다음을 통해 공유


CFontDialog::GetFaceName

선택한 글꼴의 글꼴 이름을 검색 하려면이 함수를 호출 합니다.

CString GetFaceName( ) const;

반환 값

얼굴 이름에서 선택한 글꼴은 CFontDialog 대화 상자.

예제

// Get the face name of the selected font, if any.
CFontDialog dlg;
if (dlg.DoModal() == IDOK)
{
   CString facename = dlg.GetFaceName();
   TRACE(_T("Face name of the selected font = %s\n"), facename);
}

요구 사항

헤더: afxdlgs.h

참고 항목

참조

CFontDialog 클래스

계층 구조 차트

CFontDialog::GetCurrentFont

CFontDialog::GetStyleName