CFontDialog::GetWeight
선택한 글꼴의 두께 검색 하려면이 함수를 호출 합니다.
int GetWeight( ) const;
반환 값
선택한 글꼴의 두께입니다.
설명
글꼴 두께 대 한 자세한 내용은 참조 하십시오. CFont::CreateFont.
예제
// Get the weight of the selected font, if any.
CFontDialog dlg;
if (dlg.DoModal() == IDOK)
{
int weight = dlg.GetWeight();
TRACE(_T("Weight of the selected font = %d\n"), weight);
}
요구 사항
헤더: afxdlgs.h