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