Click here to Skip to main content
15,886,806 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
I want to know why Type 'iTextSharp.text.Table' is not defined. I already imported iTextSharp.text , iTextSharp.text.pdf, iTextSharp.text.html, iTextSharp.text.html.simpleparser.
Posted
Updated 27-Nov-13 0:45am
v4
Comments
Richard MacCutchan 27-Nov-13 6:33am    
Try the library that contains them. I think you need to provide a lot more information about where this code comes from and what library you think provides these features.
Richard MacCutchan 27-Nov-13 6:47am    
Have you checked the documentation?

1 solution

Refer- Type 'iTextSharp.text.Table' is not defined[^].
Quote:

In searching the Internet the only thing I could find about iTextSharp.Text.Table was example code. I looked at the SVN on SourceForge and there is no Table that is part of the text namespace, it looks like it was depricated in the current version. Your best bet would be to use iTextSharp.text.pdf.PDFPTable. (Documentation from iText link) or to find a Version of iTextSharp previous to version 5. If you look at this SO Question/Answer there is a link to iTextSharp version 4.1.6 this version does have iTextSharp.text.Table. Here also is a blog that has links to the Source and dll.

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900