字符串的象素宽度和高度?

CString   str   =   "abcdefg   ";


CSize   sz   =   pDC-> GetTextExtent(str);

sz     就包含   str的长度和高度

你可能感兴趣的:(字符串的象素宽度和高度?)