Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Justify text...both margins??
Message
From
30/03/2007 10:12:56
 
 
To
30/03/2007 08:57:20
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00285973
Message ID:
01210335
Views:
21
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform