I have a existing pdf which i want to open at specific bookmarks in c#. Below is the snippet of code i'm using
string filepath = Common.executivePath.ToString() + @"\helpfile.pdf";
myProcess.StartInfo.FileName = "C:\\ProgramFiles\\Adobe\\Reader10.0\\Reader\\AcroRd32.exe";
myProcess.StartInfo.Arguments = "/A \"nameddest=Flexible Pavement Design\" " + filepath;
myProcess.Start();
If the bookmark is a single word (i.e no spaces it works fine) it works fine.
myProcess.StartInfo.Arguments = "/A \"nameddest=Preface\" " + filepath;
Here the name of the bookmark is "Preface". Also if bookmark is nested inside another, that is also not working(i'm not sure about the syntax here).
myProcess.StartInfo.Arguments = "/A \"nameddest=Preface/Disclaimer" " + filepath;
Is there any other attribute other than arguments i should use to make it work?