No Cell constructor takes a font, that information is carried in the
Paragraph and Phrase that you add to the Cell. By the way, use a
PdfPTable; if something goes wrong with Table you won't get any help.
 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Hamish Symington
> Sent: Tuesday, October 11, 2005 2:33 PM
> To: [email protected]
> Subject: [iText-questions] Changing font in table cell
> 
> Hello -
>  
> Using iTextSharp, writing an ASP.NET page in VB.NET rather 
> than C# (don't ask) to generate a PDF from a form input.
>  
> Trying to work out how to change the font in a table cell. 
> (I'm making a table with 'headings' on the left and 'values' 
> on the right, and want the heading to be in bold and the 
> value in roman.)
>  
> Tried
>  
> dim mycell as cell = new cell("Researcher", bfComic)
>  
> where bfComic is set up as a new Font (I can use it in add 
> paragraph), but it tells me that no available new can accept 
> that many arguments.
>  
> Any clues?
>  
> Cheers,
>  
> Hamish
>  
> 
> -- 
> Hamish Symington 
> Website & Publications Officer 
> 
> Research Services Division 
> University of Cambridge 
> 16 Mill Lane 
> CAMBRIDGE CB2 1SB 
> 
> t +44 (0)1223 765418 
> f +44 (0)1223 765410 
> www.rsd.cam.ac.uk 
> 
> 
> -- 
> 
>  
> 


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to