magesh rathnam wrote:
> Hi,
> 
>   I'm trying to print a text in a PDF. But the text is not getting 
> wrapped. Depending on the alignment I use, some portion of the text gets 
> cut always. I need to use PdfContentByte class because I need to write 
> text at a particular location. I'm attaching the resultant PDF produced 
> as a reference.
> 
>   The code is given below. Pls help me in fixing the issue. Any help 
> will be appreciated.

You are using an example from the book.
Therefore I am assuming you have the book.
If you want to place text at an absolute
position, and have the text wrapped, you
can't do this with the methods described
in chapter 11, you need to do it as described
in chapter 7.
br,
Bruno

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to