|
-
February 11th, 2005, 11:36 AM
#1
Getting Font Dimensions
Hello. I'm wondering if there is a way to get the dimensions (height, width) of a specific character or string using a certain windows font.
So is there any way I can find out this information if I have a font name ie) Arial, and a CString ? I basically just need the ratio of the string height to the width.
I don't want to draw the text, just need this height to width ratio. Either for each character, or the whole string.
Thanks for any help or suggestions.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|