Angel Font Word Width
Monkey Forums/Monkey Programming/Angel Font Word Width
| ||
Hi all. Happy new year :-) I am using AngelFont to add text to the screen using font.DrawHTML(blah blah) I would like to draw a nice snug fitting box around the text and therefore need to know its rendered width and height. I'm not using a fixed width font so it's not an easy calculation to do manually. Will AngelFont let me know this information some how? Thank you |
| ||
If MyFont is your returned Angelfont-Object you simply can write: MyFont.TextWidth(AnyString$) MyFont.TextHeight(AnyString$) |
| ||
Really? It's that simple? Doh! I should RTFM if only I could could find it. Thanks ever so much :-) |