Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Font Width Algorithm
Message
From
15/06/1999 16:07:08
 
 
To
All
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Title:
Font Width Algorithm
Miscellaneous
Thread ID:
00230157
Message ID:
00230157
Views:
65
I need a way to calculate the phyical width of a font based on the font family and point size. We are creating electronic HTML based forms and want to make sure that certain fields do not contain information which will wrap, therefore we need to calculate the length of the string as it will print with a certain font and point size.

Is there an algorithm/object/WinAPI call that I can use to do this?

TIA !
Reply
Map
View

Click here to load this message in the networking platform