Hello People,
I am building a table using PdfPTable and I need my
font size(may be 6) to be small for all the cells in
the table.
Presently I am doing 'new' for every cell in the
table. The table might end up having many cells and so
I may end up doing many new statements. AS such I
have the fear that I may run out of memory. Can this
happen?
Is there a way I can set the font size of all table
cells to be 6. Here are parts of my code
PdfPTable datatable = new PdfPTable(17);
PdfPCell cell;
Paragraph p ;
I could have easily used
datatable.addCell("Myvalue") but because I need a font
size of 6,I have to use
1. new Font
2. new Paragraph
3. new PdfPcell
p = new Paragraph("myvalue",new Font(Font.HELVETICA,6)
cell = new PdfPCell(p);
datatable.addCell(cell);
Please help .
Thanks
Ekta
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions