Link to home
Start Free TrialLog in
Avatar of pcommons
pcommons

asked on

Calculating String's Exact width and height

Is there a quick and easy way, if I have a CFont structure and a CString to figure out exactly how tall and wide the string would be when rendered using that CFont info?
ASKER CERTIFIED SOLUTION
Avatar of l3st4rd
l3st4rd

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of pcommons
pcommons

ASKER

Thanks. I was looking at CFont methods and didn't think to look at CDC methods.