Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calculating Text Length based on Field Object Size
Message
De
10/09/2004 15:47:11
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Calculating Text Length based on Field Object Size
Divers
Thread ID:
00941206
Message ID:
00941206
Vues:
61
Searched and found lots of stuff almost related to this, but nothing that really helped. If I know that the field object in the report has a width of 1.4 (somethings) and the font is Arial and the size is 10 and the style is regular, how can I determine the number of characters that can fit without truncating or wrapping? I've played around a bunch with FontMetric and TxtWidth, but I guess the biggest problem is not knowing what measure the reports "1.4" is. Inches? Then does 10 point mean 10 average characters per inch? Seems harder than it should be, but maybe I'm just making it that way.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform