i was i newbie with itext and i want to ask how to change font
properties such as changing font, make it bold or italic etc an adding
it in cell (PdfPCell)
p = new Paragraph("Amount", new Font(Font.BOLD));
cell = new PdfPCell(p);
cell.setHorizontalAlignment(Element.ALIGN_CENTER);
cell.setGrayFill(0.75f);
table.addCell(cell);
this is part of my code. But nothing happen to the font in my table. Am
i make a mistake with that code?
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
iText-questions mailing list
iText-questions@(protected)
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/