• Post Reply Bookmark Topic Watch Topic
  • New Topic

PdfTable in multiple pages  RSS feed

 
MohamedAhmed Ibrahim
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to split a PdfTable into multiple pages and the header of the table recur in each page. Does anyone know how ?

table.setTotalWidth(document.right() - document.left()) ;
table.writeSelectedRows(0 , table.size() , document.left(), document.right() , writer.getDirectContent()) ;
document.newPage() ;

I am using itext
table is an object of class PdfTable ,writer of PdfWriter and document of Document

Thanks for you help
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!