问题描述
我需要从C#应用程序中以全屏模式使用Foxit Reader或Adobe Reader打开PDF文件。手动地,我在Foxit Reader中输入 F11
,在Adobe Reader中输入 CTRL + L
。这会将当前文件视图更改为全屏模式。但是以编程方式,我不知道该怎么做!
I need from my C# application open a PDF file by using Foxit Reader or Adobe Reader in full screen mode. Manually, I do it typing F11
in Foxit Reader and CTRL+L
on Adobe Reader. This changes the current file view to "full screen" mode. But programmatically, I have no idea how to do this! Thanks in advance.
,当我打开pdf文件时:
as I'm opening the pdf file:
Process.Start(filename);
推荐答案
您可以使用发送 F11
或 CTRL + L
运行PDF应用程序后。
You can use SendKeys to send F11
or CTRL+L
to the PDF application after you run it.
Foxit或Adobe可能支持命令行参数以全屏模式打开。如果您不介意更改为,我知道您可以通过 -presentation $ file.pdf
-在演示(全屏)模式下打开PDF文件。有关详细信息,请参见。
Alternatively, Foxit or Adobe may support commandline parameters to open in fullscreen mode. If you don't mind changing to SumatraPDF, I do know you can pass -presentation $file.pdf
- opens a PDF file in presentation (full-screen) mode. See the manual for details.
这篇关于如何在全屏模式下使用Foxit / Adobe打开PDF文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!