Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to determine needed font size to fit text in width
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01045946
Message ID:
01045951
Views:
24
Functions like fontmetric() and txtwidth() should help

>I have a caption that must fit in a container that must vary in width and run time.
>The font is arial. I would like the font size to vary based on the caption width. Is there a way to calculate that ?
>
>thks
>Eric
Previous
Reply
Map
View

Click here to load this message in the networking platform