在C#中打开pdf文件 [英] open pdf file in c#
本文介绍了在C#中打开pdf文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有人对此错误消息有解决方案吗?
我添加了该命名空间,但不知道问题出在哪里.请帮帮我.
Hi,
does anyone have a solution for this error message?
I add that namespace but I do not know what is the problem. Please help me.
using PdfLib;
错误消息如下.
The error message is as a follow.
Error 1 The type or namespace name ''PdfLib'' could not be found are you missing a using directive or an assembly reference?
推荐答案
您必须使用VS中的添加引用"对话框在项目中添加对PDFLib_dotnet.dll的引用.该dll应位于PDFLib的安装文件夹中.
看看第37页的pdf:
http://www.pdflib.com/fileadmin/pdflib/pdf/manuals/PDFlib-8.0.1-tutorial-Windows.pdf [
You have to add a reference to PDFLib_dotnet.dll in your project using the "Add Reference" dialog in VS. The dll should be somewhere in the installation folder of PDFLib.
Have a look in this pdf on page 37:
http://www.pdflib.com/fileadmin/pdflib/pdf/manuals/PDFlib-8.0.1-tutorial-Windows.pdf[^]
这篇关于在C#中打开pdf文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文