I try to use this:
iTextSharp.text.pdf.PdfTable tbl = new iTextSharp.text.pdf.PdfTable();
开发者_运维知识库
But i always get the error:
The type 'iTextSharp.text.pdf.PdfTable' has no constructors defined
Why that? In various tutorial I saw that that should be possible.
Try using PdfPTable
instead. I haven't used iTextSharp myself, but Google suggests, that it's the right class name.
精彩评论