2

I need to display PDF files in my windows phone 8 app. The easiest way I know is using ComponentOne pdf control. But it is way too costly to be bought by an individual. Is any body aware of a free wp8 control for diplaying pdfs?

My next option is to create it my self. I am trying to convert the pdf into an image and then display it. But I can not find any wp8 compatible library. I tried GhostScript but it is not working with windows phone 8.

Any kind of help will be appreciated.

abhinav pandey
  • 574
  • 2
  • 8
  • 21
  • Do you really need an internal reader? If the user has a PDF reader installed on the phone, you can use it to open the PDF file: http://stackoverflow.com/questions/13118338/how-to-open-pdf-files-in-windows-8-application-using-c – Kevin Gosse Oct 28 '13 at 11:59
  • Hi @abhinav pandey its great to hear that you have solved your problem using MuPDF. I want to implement same in one of my project, would you like to share your thought, how you achieve this? – gofor.net Jul 31 '14 at 12:27
  • @gofor.net sure thing, what do you wanna know? – abhinav pandey Jul 31 '14 at 20:28
  • I want to open/view pdf inside my windows phone application. How I will implement into my application? If you can show any sample code then it would be really appropriated. – gofor.net Aug 01 '14 at 06:04
  • Are you making a PDF reader you just need to show a file? To implement a full PDF reader in an app is not a good idea(in my opinion). It is altogether a different scenario if you are trying to make a PDF reader. – abhinav pandey Aug 01 '14 at 08:35
  • Yes I want to show only PDF using this MuPDF. I don't want to search for other app installed on device to view PDF. You can check my question for that : http://stackoverflow.com/questions/25039818/how-to-detect-default-pdfviewer-and-open-pdf-in-windows-phone – gofor.net Aug 05 '14 at 06:48

2 Answers2

3

Have you tried MuPDF, Windows 8 and Windows Phone 8 WinRT component?

MuPDF.WinRT is a lightweight PDF, XPS and CBZ viewer and parser/rendering WinRT component.

The MuPDF.WinRT is just wrapper under MuPDF library (http://www.mupdf.com/), so it can support the same functions as MuPDF library

Might be helpful : Reading PDF and XPS on your Windows 8 application using WinRT [It uses MuPDF.]

Farhan Ghumra
  • 15,180
  • 6
  • 50
  • 115
1

Аpitron PDF Rasterizer for .NET works on windows phone, they even have they own pdf viewer

Hugo Moreno
  • 150
  • 7