How to open a PDF file using Foxit / Adobe in full screen?

I need a C # application to open a PDF file using Foxit Reader or Adobe Reader in full screen. Manually, I type F11 in Foxit Reader and CTRL+L in Adobe Reader. This changes the current view of the file to "full screen" mode. But programmatically, I have no idea how to do this! Thanks in advance.

when i open the pdf file:

 Process.Start(filename); 
0
source share
2 answers

You can use SendKeys to send F11 or CTRL+L to the PDF application after it starts.

Alternatively, Foxit or Adobe may support command line options for opening in full screen. If you don’t mind switching to SumatraPDF , I know that you can go -presentation $file.pdf - opens a PDF file in a presentation (full- Screen mode. For more details see the manual .

+2
source

In addition to using other solutions, you can open Windows Form (or WPF Window) using the WebBrowser control and specify it in the PDF file. The PDF file will open in a web browser. Just set the properties of your Windows form to the maximum level without a frame, and this should be the key to getting what you want without going into the process.

+3
source

Source: https://habr.com/ru/post/959199/


All Articles