> Font font = new Font(Font.COURIER, 10, Font.BOLD); > When i compile my project, i get the following error: > Error 4 'System.Drawing.Font' does not contain a definition for 'COURIER' > C:\Myassemblies\Chapter1_iText\Chapter1_iText\Form1.cs > 120 43 Chapter1_iText
You want an instance of iTextSharp.text.Font, not System.Drawing.Font. You need to either remove the "using System.Drawing" declaration of explicitly specify the typename of iTextSharp.text.Font. Brian ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/