当前位置:编程学习 > C#/ASP.NET >>

c#读取pdf,并检索程序,该如何写?请赐教!

c#读取pdf,并检索程序,该如何写?请赐教!
如果使用第三方插件,用什么第三方插件啊,怎么用啊?
谢谢大家指导了! --------------------编程问答-------------------- 可用itextsharp,pdfbox 
string pdfPath = Server.MapPath("a.pdf"); 
    PDDocument doc = PDDocument.load(pdfPath); 
    PDFTextStripper stripper = new PDFTextStripper(); 
    string txt = stripper.getText(doc); 
    Response.Write(txt); 
--------------------编程问答-------------------- PDDocument和PDFtextStrpper是itextsharp里的吧?
怎么引用itextsharp啊?
我引用完itextsharp.dll后,还是无法使用itextsharp里面的类
请指教,谢谢了!
补充:.NET技术 ,  C#
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,