sachit dahal wrote:
> 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 ;-)

The use of the word 'Urgent' on this mailinglist is dangerous.
I am allergic to it! Even when it's followed by a smiley ;-)

Also you haven't tried all the examples in the tutorial,
otherwise you would have found this snippet:

Font font = FontFactory.getFont("Helvetica", 8, Font.BOLD, Color.BLACK);
PdfPCell h1 = new PdfPCell(new Paragraph("Header 1", font));

This is from an example that can be found here:
http://itextdocs.lowagie.com/tutorial/objects/tables/pdfptable/index.html#memory

Another example can be found in Chapter 6 of the book:
http://itext.ugent.be/itext-in-action/examples/chapter06/PdfPTableRepeatHeader.java
http://itext.ugent.be/itext-in-action/examples/chapter06/results/pdfptable_repeated.pdf
PdfPCell cell = new PdfPCell(
   new Phrase("Administration - System Users Report",
     FontFactory.getFont(FontFactory.HELVETICA, 24, Font.BOLD)));

br,
Bruno

-------------------------------------------------------------------------
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