Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Auto-sizing without being in design mode?
Message
 
 
To
01/07/2008 14:48:30
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Miscellaneous
Thread ID:
01327956
Message ID:
01328027
Views:
14
>>You can calculate the size of the word when rendered in a specified font using:
>>
>>FONTMETRIC(6,"<font name>",<font size>, <font style>) * TXTWIDTH("<text string>","<font name>",<font size>, <font style>)
>>
>

>I thought that was what I was doing with the len() / len(), and then setting the width * (len() / len()).

It's the same for none-proportional fonts only.
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform