尝试打开与AxAcroPDFLib PDF文件 [英] Trying to open a PDF with AxAcroPDFLib

查看:1369
本文介绍了尝试打开与AxAcroPDFLib PDF文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经安装了最新版本的Adobe Reader的我的电脑上(Adobe Acrobat Reader软件DC)。 现在,我想用AxAcroPDFLib在C#中打开并显示PDF文件在我的Windows窗体应用程序。

I have installed the latest Adobe Reader on my PC (Adobe Acrobat Reader DC). Now I would like to use AxAcroPDFLib in C# to open and show a PDF file in my Windows Forms application.

现在的问题是,如果我试图使用的LoadFile()方法,那么它说,这种方法是不存在的。

The problem is, if I am trying to use the LoadFile() method, then it says that this method is not exist.

我装在使用Adobe Acrobat 7.0浏览器控件类型库1.0 COM引用到我的项目,我添加了的Adobe PDF阅读器 COM组件,以我的工具箱(工具/选择工具箱项... / COM组件)。

I loaded the Adobe Acrobat 7.0 Browser Control Type Library 1.0 COM reference into my project, and I added the Adobe PDF Reader COM Component to my toolbox (Tools / Choose Toolbox Items... / COM Components).

什么是错的?我应该怎样打开PDF文件与此库?我发现在互联网上有很多教程,每个人都告诉我必须使用的LoadFile方法...请大家帮帮忙,谢谢!

What is wrong? How should I open a PDF file with this library? I found a lot of tutorials on the internet, and everybody tells that I have to use the LoadFile method... Please help, thanks!

推荐答案

这是不再在Adobe Reader DC支持。安装Adobe Reader V11,它会工作。

This is no longer supported in Adobe Reader DC. Install Adobe Reader v11 and it will work.

这篇关于尝试打开与AxAcroPDFLib PDF文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆