PDF查看器控件的LoadFile方法不可见 [英] LoadFile method of PDF viewer control not visible
本文介绍了PDF查看器控件的LoadFile方法不可见的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想自动填写PDF表单.
I wanted to automate filling of PDF forms.
所以我在VS2013中创建了一个WinForms项目,添加了Adobe PDF Reader控件,将控件拖到了表单上.
So I created a WinForms project in VS2013, Added Adobe PDF Reader control, dragged control on to the form.
没有错误.控件显示在表单上.
No errors. Control is displayed on the form.
但是,当我尝试输入表单的代码时:
However in the code of the form when I try to put in:
axAcroPDF1.LoadFile
根本看不到LoadFile方法.
The LoadFile method is not visible at all.
.NET项目的目标设置为4.5.1.我什至尝试了4.5及更低版本.
The project .NET target is set to 4.5.1. I even tried 4.5 and lower.
推荐答案
The AxHost wraps only the Active X Control. The LoadFile Method is a method from the COM Class from your Adobe Control.
查看全文