Hi,

This should help.
When adding a cell, the Cell constructor takes two arguments, one of
which is font.

//you can read about baseFont
BaseFont baseFont   = BaseFont.createFont("specify your font here",
BaseFont.CP1252, BaseFont.NOT_EMBEDDED);

Font colfont              = new Font(baseFont, 8);

Cell cell = new Cell(new Phrase("Make me bold", colfont));
table.addCell(cell);


Kind Regards,
______________

Patrick Mugabe


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
sachit dahal
Sent: Thursday, October 26, 2006 1:09 PM
To: [email protected]
Subject: [iText-questions] How to make the text inside Table cell Bold

Hi all,

I am using itextsharp to generate PDF documents , now what i need is to
make 
the texts inside a table (only of some cells) to be BOLD i browsed
through 
the tutorials but found nothing Hope one among You can solve this

It is Urgent Please ;-)

Thanks in Advance
DAHAL SACHIT

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!

http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


------------------------------------------------------------------------
-
Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to