1

I develop a windows universal app (8.1) in C# and i want to open a local pdf file at a specific page with using Adobe Pdf Reader (not rendering pdf in my application).

Someone has already do that ? After some hours of search it seems to be impossible :(

Romain
  • 11
  • 1

2 Answers2

0

According to this PDF, found through Adobe Reader Command Line Reference, it's the command line

Acrobat.exe /A "page=123" "C:\example.pdf"

But that's for the Desktop executable. It may work for mobile as well.

Community
  • 1
  • 1
CodeCaster
  • 147,647
  • 23
  • 218
  • 272
  • In browsers, you can append ?page=N to the Uri, maybe this also works when invoking the mobile reader using a launch Uri instead of a direct StorageFile Reference... – eFloh Jul 16 '15 at 10:32
  • It seems to be impossible to launch exe with args in Windows Store Application too :( – Romain Jul 16 '15 at 11:33
-1

try this

Option 1 to read in app. Use third party PDF reader controls. enter link description here

Option 2: to open pdf in pdf reader app.

  var StorageFile= get you pdf here...;

  await Launcher.LaunchFileAsync(StorageFile);
Kashif
  • 2,926
  • 4
  • 20
  • 20
  • 1
    OP explicitly said _"at a specific page"_. Also "try this" isn't a good answer, explain what that code does and how you think it will solve OP's problem. – CodeCaster Jul 16 '15 at 10:16