itextsharp.dll正在阅读Acrofields

时间:2015-11-25 19:28:05

标签: c# itextsharp

我正在尝试使用itextsharp.dll从pdf中读取所有字段。这是我的代码:

PdfReader pdfReader = new PdfReader("file path");
foreach (KeyValuePair<string, AcroFields.Item> field in pdfReader.AcroFields.Fields)
{
    //read field key
}

我得到的错误是:

System.MissingMethodException:Method not found: 
'System.Collections.Generic.IDictionary`2<System.String,Item> 
iTextSharp.text.pdf.AcroFields.get_Fields()'.

关于我哪里出错的任何想法?

0 个答案:

没有答案