CFontDialog::GetSize
Call this function to retrieve the size of the selected font.
int GetSize( ) const;
Return Value
The font's size, in tenths of a point.
Example
// 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);
}
Requirements
Header: afxdlgs.h