【发布时间】:2015-07-16 18:23:43
【问题描述】:
我用 C# 开发了一个 Windows 通用应用程序 (8.1),我想使用 Adobe Pdf Reader 在特定页面打开一个本地 pdf 文件(不在我的应用程序中呈现 pdf)。
有人已经这样做了?经过几个小时的搜索,这似乎是不可能的:(
【问题讨论】:
标签: c# pdf win-universal-app
我用 C# 开发了一个 Windows 通用应用程序 (8.1),我想使用 Adobe Pdf Reader 在特定页面打开一个本地 pdf 文件(不在我的应用程序中呈现 pdf)。
有人已经这样做了?经过几个小时的搜索,这似乎是不可能的:(
【问题讨论】:
标签: c# pdf win-universal-app
根据this PDF,通过Adobe Reader Command Line Reference找到,是命令行
Acrobat.exe /A "page=123" "C:\example.pdf"
但这是针对桌面可执行文件的。它也适用于移动设备。
【讨论】:
试试这个
在应用程序中读取的选项 1。 使用第三方 PDF 阅读器控件。 enter link description here
选项 2:在 pdf 阅读器应用中打开 pdf。
var StorageFile= get you pdf here...;
await Launcher.LaunchFileAsync(StorageFile);
【讨论】: