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 ...