iTextSharp和PdfTable的问题

时间:2011-02-25 14:35:00

标签: c# .net pdf itextsharp itext

我尝试使用它:

iTextSharp.text.pdf.PdfTable tbl = new iTextSharp.text.pdf.PdfTable();

但我总是得到错误:

The type 'iTextSharp.text.pdf.PdfTable' has no constructors defined

为什么?在各种教程中,我看到这应该是可能的。

1 个答案:

答案 0 :(得分:4)

请尝试使用PdfPTable。我自己没有使用iTextSharp,但谷歌建议,这是正确的类名。