vs工具箱选择项-》Com组件-》选择Adobe PDF Reader
直接拖拽Adobe PDF Reader控件到winform窗体,会自动添加ArcoPDFLib AxAcroPDFLib两个引用
备注:
adobe reader 9版本下面,关闭报错解决办法
[System.Runtime.InteropServices.DllImport("ole32.dll")]
static extern void CoFreeUnusedLibraries();
private void MAIN_FormClosing(object sender, FormClosingEventArgs e)
{
axAcroPDF.Dispose();
CoFreeUnusedLibraries();
}