CFontDialog::GetSize
選択されているフォントのサイズを取得するには、この関数を呼び出します。
int GetSize( ) const;
戻り値
ポイントの 1/10 のフォントのサイズ。
使用例
// Get the size of the selected font, if any.
CFontDialog dlg;
if (dlg.DoModal() == IDOK)
{
int size = dlg.GetSize();
TRACE(_T("The size of the selected font = %d\n"), size);
}
必要条件
ヘッダー : afxdlgs.h