Hi Campa,

On 11/15/06, Campa Campa <[EMAIL PROTECTED]> wrote:
Hi all, i'm new with iText and i need to write a kind of reporting engine for printing table data.
I'm working with c# and i'm trying to do something with PdfPTable and columnText, i got a problem with pagination.
I created a ColumnText and i put a PdfPTable in it, how to let the data continue in the next pages?
I put the PdfPTable in the columnText because I need to control the position of the table in the page.

What I did to achieve this is (using iText for Java):
- Set margins on the page to control the position of the table on the page
- Set the table-alignment to 'left' for better/easier control of the table position
- Add the PdfPTable to the document, and let the document take care of overflowing the table to multiple pages.

I would imagine that it works similar in iTextSharp?

 

Thanks,
Campa.


Cheers,

--Tim

-------------------------------------------------------------------------
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
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to