Lanch specific PDF documnet page  
Author Message
JayJ





PostPosted: Visual C# General, Lanch specific PDF documnet page Top

Hi...I have a 100 page PDF document. I need to lauch a specific page in that document. I can launch the document with: System.Diagnostics.Process.Start(PDFpath.....) but it starts with the first page on top. Help! and Thanks!



Visual C#15  
 
 
ahmedilyas





PostPosted: Visual C# General, Lanch specific PDF documnet page Top

this is all dependant on how the 3rd party software handles it, and the parameters, So you need to look up somewhere with Adobe Acrobat on how to open a pdf and navigate to a specific page. Once done, then you can add these parameters into the Process.Start() method

 
 
theregit





PostPosted: Visual C# General, Lanch specific PDF documnet page Top

There are some command line parameters that you can pass to the AcroRd32.exe program to do what you are looking to do.  Try something like this:

ProcessStartInfo pInfo = new ProcessStartInfo();
<Path to AcroRd32.exe>";
<pagenum> ""<FULL_PATH_TO_PDF>""";

Process.Start(pInfo);
Hope this helps.