----- Original Message ----- 
From: "Chris Bourke" <[EMAIL PROTECTED]>
To: "iText Mailing List" <[email protected]>
Sent: Wednesday, April 30, 2008 9:05 PM
Subject: [iText-questions] frame a block of text?


> 
> 
> I've only just recently picked up iText, so I'm new, but I couldn't find 
> this answer after a long while on google/faqs.
> 
> Coming from a latex background I want to get the same behaviour as a 
> \fbox{text here} command.  I've tried some hackish ways of doing this: 
> defining a 1x1 table and adding a bunch of paragraphs inside its one 
> cell for example, but the text is treated differently inside a table 
> (line breaks are not respected, indentation does not work, etc).
> 

Use PdfPCell.addElement().

Paulo

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Do you like iText?
Buy the iText book: http://www.1t3xt.com/docs/book.php
Or leave a tip: https://tipit.to/itexttipjar

Reply via email to