Awesomium Displaying Adobe Reader plugin outside of browser window

﹥>﹥吖頭↗ 提交于 2019-12-11 14:36:33

问题


I've also asked this question on the Awesomium question/answer deal (here), but have gotten no reply, so I am asking here hoping that someone here has dealt with the issue. Whenever I render a PDF in an iframe, it shows as a separate app in a window. I don't need it to be displayed in an iframe, or even visible at all, I just need it to launch the print window, so that filled out PDF can be printed... please help... (I am currently using v 1.7.1 of Awesomium, though I had the same problem is a previous 1.6.? version)


回答1:


Consider hosting Acrobat Reader ActiveX control directly, side-by-side with Awesomium. It's quite snappy, here's how it can be done:

http://www.codeproject.com/Articles/380019/Using-Adobe-Reader-in-a-WPF-app/ http://hugeonion.com/2009/04/06/displaying-a-pdf-file-within-a-wpf-application/

The Reader Control API is described here: http://partners.adobe.com/public/developer/en/acrobat/sdk/pdf/iac/IACReference.pdf




回答2:


Did you tried with WebBrowser Control in C# ... that might help you ...



来源:https://stackoverflow.com/questions/18094148/awesomium-displaying-adobe-reader-plugin-outside-of-browser-window

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!