Visual C# 引用 PDFBox的dll

想在c#中调用PDFbox; 差了好几篇文章,都说先引用2个动态库

IKVM.GNU.Classpath.dll PDFBox-0.7.3.dll

怎么引用,都没提。毕竟是C#菜鸟,卡壳了。搞了近一天[Dllimport],还是不明白。 网上继续查找文章,找到一篇

http://hi.baidu.com/ld_hust/blog/item/04078e4e459f703eafc3abb9.html

提到 “You’ll have to add a reference to the first two in your project.

恍然大悟,原来在项目下面右键选择 “add reference”,然后选中dll文件就可以了; 文件被加入resource 列表中,

using  org.pdfbox.pdmodel;

 

 

 

using  org.pdfbox.util;

 

 

就不再是问题了。土啊。

虽然不知道在命令行c#中究竟怎么写,毕竟我这里可以先运行了。

 

 

你可能感兴趣的:(c#,dll,reference)