我尝试使用它:
iTextSharp.text.pdf.PdfTable tbl = new iTextSharp.text.pdf.PdfTable();
但我总是得到错误:
The type 'iTextSharp.text.pdf.PdfTable' has no constructors defined
为什么?在各种教程中,我看到这应该是可能的。
答案 0 :(得分:4)
请尝试使用PdfPTable
。我自己没有使用iTextSharp,但谷歌建议,这是正确的类名。