我打开这样的PDF文件:...
using System. Diagnostics;
public Form1()
{
InitializeComponent();
axAcroPDF1.LoadFile(@"D:\myBook.pdf");
axAcroPDF1.Show();
}
但是当我去另一个页面想要查看它的编号时,我找不到方法Get或类似的东西。如何读取当前打开的页数???
答案 0 :(得分:0)
如何获取页码:
Dim pdfPage As Acrobat.CAcroPDPage
Set pdfPage = pdfPageView.GetPage
lPage = pdfPage.GetNumber