« Return to Thread: Absolute Postion of Bolded Text?

Re: Absolute Postion of Bolded Text?

by Shawn Davies :: Rate this Message:

Reply to Author | View in Thread

Try this:

iTextSharp.text.Font fBoldFont =
FontFactory.GetFont(FontFactory.HELVETICA, 8,
iTextSharp.text.Font.BOLD);
datatable.AddCell(new Paragraph(colName.ToUpper(), fBoldFont));



Shawn.Davies@...


-----Original Message-----
From: Belmiris [mailto:rickcimbalo@...]
Sent: Sunday, June 14, 2009 8:44 AM
To: itextsharp-questions@...
Subject: [itextsharp-questions] Absolute Postion of Bolded Text?


Hello. I'm pretty new to iText and just went thru the tutorial but could
not
find a way to set text with a bolded font absolutely in a document
(ShowTextAligned() only allows the basefont). Is there a way to do this?
(shortly I will need styles like italic as well)

Thanks for any help.
--
View this message in context:
http://www.nabble.com/Absolute-Postion-of-Bolded-Text--tp24021778p240217
78.html
Sent from the itextsharp-questions mailing list archive at Nabble.com.


------------------------------------------------------------------------
------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
itextsharp-questions mailing list
itextsharp-questions@...
https://lists.sourceforge.net/lists/listinfo/itextsharp-questions

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
itextsharp-questions mailing list
itextsharp-questions@...
https://lists.sourceforge.net/lists/listinfo/itextsharp-questions

 « Return to Thread: Absolute Postion of Bolded Text?