Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Calculating Text Length based on Field Object Size
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement