Вопрос

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)

Это было полезно?

Решение

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

Другие советы

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

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top