Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Font Width Algorithm
Message
De
15/06/1999 16:07:08
 
 
À
Tous
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Titre:
Font Width Algorithm
Divers
Thread ID:
00230157
Message ID:
00230157
Vues:
66
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 !
Répondre
Fil
Voir

Click here to load this message in the networking platform