开发者

Show pdf inside silverlight application. PDF to XAML

I need to create silverlight application where customer will see some pdf files. PDF files have to be inside silverlight control and not rendered as images (customer wants to select text)

For this purposes i need some free libriaries or code to convert pdf file to开发者_开发问答 xaml (or just open pdf so i can convert it to xaml).

Which library can read pdf and help me to convert data to xaml? Can I read somehow pdf file and write custom convertation tool?

I saw iTextSharp. Is this library can read pdf and help me with my issue?

I will be thankfull for any ideas or links.


I make use of the Acrobat Reader plugin to do the displaying for me. It does require a different method depending on whether your application is running inside or outside the browser (I check if the application is running inside the browser and change the means of display accordingly). If running inside the browser, I overlay the application with an IFrame, as I describe in this article: http://www.silverlightshow.net/items/Building-a-Silverlight-Line-Of-Business-Application-Part-6.aspx. Otherwise, I use the WebBrowser control. I have a control which does this all for you in the source code that accompanies my book, which is downloadable from the Apress website here: http://www.apress.com/9781430272076/.

Hope this helps...

Chris

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜