.NET open PDF in winform without external dependencies

后端 未结 9 1009
孤城傲影
孤城傲影 2020-12-08 22:46

Is there a FREE library which will allow me to open a pdf and show it on a winform project. I know I could open it in adobe reader or something but it always seems so bloate

9条回答
  •  时光说笑
    2020-12-08 23:20

    I would look into Foxit Reader as a lightweight alternative to Adobe Reader. It consists of a single .exe file that you can bundle with your application and thus shouldn't require any installation. According to their EULA this is allowed, as long as your application is not installed on mobile devices. All you would have to do is launch the reader as a new process, pointing to the appropriate pdf. Obviously the downside to this approach is it won't be integrated into your application's interface.

提交回复
热议问题