Henry Lu wrote:
> Could some one show me an example how to create a text with the 
> following format?
> 
> The text has 2000+ characters
> What I'd like to print out is:
> first line is printed out across the page and rest of the text is 
> idented 1" from the left like this:
> 
> This is a test. But this should be printed in the way that I'd like to 
> see first line is nomall line and
>         scond line starts from the 1" from the left. and the test text 
> continues aaaaaaaaaaaaaaa

This is only possible if you add Paragraph objects to a
ColumnText (or a PdfPCell) object. You need this method:
http://itextdocs.lowagie.com/docs/com/lowagie/text/pdf/ColumnText.html#setFollowingIndent(float)
For more info on columns, see
http://itextdocs.lowagie.com/tutorial/objects/columns/
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to