Thanks Paul but how to setHyphenation for ColumnText? I am using iTextSharp.

I created a ColumnText and have several Chunks. What I do is:

SetHyphenation for each chunks such as:
chunk1.SetHyphenation(new HyphenationAuto("en", "US", 2, 2));

columnText.Alignment = Element.ALIGN_JUSTIFIED;
columnText.AddText(chunk1);
columnText.AddText(chunk2);
columnText.AddText(chunk3);

The result looks still not very good. 

http://itext-general.2136553.n4.nabble.com/file/n3539405/p2.jpg 

--
View this message in context: 
http://itext-general.2136553.n4.nabble.com/How-to-add-auto-Hyphenation-for-paragraph-two-chunks-tp3538760p3539405.html
Sent from the iText - General mailing list archive at Nabble.com.

------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to