The last line is always left aligned. Do you have more than a line?
Paulo
> -----Original Message-----
> From: Paul Swift [mailto:[email protected]]
> Sent: Wednesday, February 11, 2009 4:34 PM
> To: iText mailinglist
> Subject: [iText-questions] ALIGN_JUSTIFIED not working in
> iTextSharp 4.1.2
>
> 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_nMaxHtmlWidth,
> PageSize.A4.Height - m_fPrint_Y - rowHeight,
> 0, Element.ALIGN_JUSTIFIED);
>
>
> Note that Element.ALIGN_JUSTIFIED_ALL works, but it is the
> ALIGN_JUSTIFIED functionality I require.
>
> Regards,
> Paul
>
>
>
Aviso Legal:
Esta mensagem é destinada exclusivamente ao destinatário. Pode conter
informação confidencial ou legalmente protegida. A incorrecta transmissão desta
mensagem não significa a perca de confidencialidade. Se esta mensagem for
recebida por engano, por favor envie-a de volta para o remetente e apague-a do
seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de
usar, revelar ou distribuir qualquer parte desta mensagem.
Disclaimer:
This message is destined exclusively to the intended receiver. It may contain
confidential or legally protected information. The incorrect transmission of
this message does not mean the loss of its confidentiality. If this message is
received by mistake, please send it back to the sender and delete it from your
system immediately. It is forbidden to any person who is not the intended
receiver to use, distribute or copy any part of this message.
------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://www.1t3xt.com/docs/book.php