Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Justify text...both margins??
Message
De
30/03/2007 10:12:56
 
 
À
30/03/2007 08:57:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00285973
Message ID:
01210335
Vues:
20
Imho, this thing (justification) could be done without GdiPlus, by using FontMetric(), TxtWidth() functions only. I made some simple test this morning and it seems to work for editbox, so it could work for reports too.

>Hi,
>
>I've just posted the first part of a short article showing how we can full justify texts in my blog.
>
>Next week, I hope to show how to use this technique on reports too.
>
>Full-Justified Text with GdiPlus-X
>http://weblogs.foxite.com/cesarchalom/archive/2007/03/30/3580.aspx
>
>Hope this helps
>
>Cesar
>
>
>
>>>>>>>Is it possible to JUSTify (both margins) a field (memo, for example) in the output of a report??
>>>
>>>Yes, it's totally possible, I hope to post about this later tonight.
>>>Using GDI+, of course, with the GdiPlus-X library.
>>>
>>>Cheers
>>>
>>>Cesar
>>
>>Thanks a lot. We somehow hajacked the old thread, there was a question today about the same problem Re: Justify memo in vfp9 report Thread #1208948 Message #1208952
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform