Thanks for the suggestions - it has helped me to identify my flawed logic.
I was calling SetSimpleColumn in a loop; iterating through all the Chunks in a
Phrase. However, each Chuck (execept the last) had already been calculated to
contain no more words that can fit in the available space
The last line is always left aligned. Do you have more than a line?
Paulo
> -Original Message-
> From: Paul Swift [mailto:paulswift1...@hotmail.com]
> Sent: Wednesday, February 11, 2009 4:34 PM
> To: iText mailinglist
> Subject: [iText-questions] ALIGN_JUSTIFIED
Paul Swift wrote:
> Can anyone suggest why ALIGN_JUSTIFIED might not be working for me in
> iTextSharp 4.1.2
It only works in "text mode"; maybe you switched to "composite mode"?
--
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info
-
Can anyone suggest why ALIGN_JUSTIFIED might not be working for me in
iTextSharp 4.1.2?
Here is a code snippet:
ct.SetSimpleColumn(text_x,
PageSize.A4.Height - m_fPrint_Y - (rowHeight * 2),
m_nHtmlAreaLeft + m_nMaxHtmlWid