I have a programm wich creates a pdf , in the header of the page puts a
corporative image and some data to the right. This programm works fine when
i was ussing itext 2.3.jar, but now, i have tried with itext 5.1.jar and not
works, the imageLogo is not showed... i don't know why... ¿any ideas?
Cell c = new Cell(imageLogo);
Table headerTable = new Table(2) ;
headerTable.getDefaultCell().setBorder(0); //in old version =
headerTable.setDefaultCellBorder(0);
headerTable.setBorder(0);
float headerTablewidths[] = { 51f, 49f } ;
headerTable.setWidths(headerTablewidths);
c.setRowspan(8);
headerTable.addCell(c) ; //My image logo
headerTable.addCell(...); //Strings data
headerTable.addCell(...); //Strings data
Thanks for your help
--
View this message in context:
http://old.nabble.com/iText-program-not-works-to-change-to-a-new-itext.jar-version-tp27701829p27701829.html
Sent from the iText - General mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions:
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/