Open a specific page in a PDF file c#

后端 未结 5 1261
伪装坚强ぢ
伪装坚强ぢ 2021-01-15 19:41

I open a pdf file when my form is loaded with the following code:

Process process = new Process();
ProcessStartInfo startInfo = new ProcessStartInfo();
proce         


        
5条回答
  •  野的像风
    2021-01-15 20:25

    Try

    process.StartInfo.Arguments = "/A \"page=n\" \"F:\\STAGE\\test.pdf"";
    

    changing n to the page number you want

提交回复
热议问题