Hi,

I am using PdfPCell to generate cells and add them to the PdfPTable table.
But before adding them to the table I want to set attributes of the text,
that would be present in the cell. Attributes are like bold, font size, etc.
To add the text to the PdfPCell I am writing something like:

PdfPCell pdfPCell = new PdfPCell();
Phrase hfPhrase = new Phrase("");
hfPhrase.add(new Chunk("ABC"));
pdfPCell.setPhrase(hfPhrase);
  
Please suggest me whether I am doing it right and how can I set these 
attributes of PdfPCell?

Thanks in advance.



-------------------------------------------------------
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to