Reading PDF file in Windows store App

MUPDF is a free pdf library that help in pdf parsing and renderer , today we ported the MUPDF c++ library in a WinRT component , that will help you to show PDF's file in your HTML/JS or XAML/c# app.Our Project Consist of 2 Parts the MuPDFWinRT which is the C++ WinRT Component it

4.9 Star
4,753 times
Add to favorites
E-mail Twitter Digg Facebook
Sign in to ask a question

  • Complie Error in vs 2015
    1 Posts | Last post March 22, 2018
    • Hi Ahmed,
      Your library has some problems in the windows8.1 and UWP _getenv error LNK1120: external symbols: 2 external command cannot parse the and error LNK2001: could not be resolved and it is not creating mupdf library.... and can give me suggestion how to copy text from pdf files.....
      How to resolve this....
  • fz_interact
    1 Posts | Last post June 16, 2014
    • hello, I want to know where the function fz_interact  resolved?  wating for your reply
  • How can i open mupdf at specific page ?
    1 Posts | Last post April 24, 2014
    • Hello,
      How can i open the mupdf at specific page ?
  • Hi, Ahmed
    1 Posts | Last post March 06, 2014
    • Your library has some problems in the windows8.1 _getenv error LNK1120: external symbols: 1 external command cannot parse the and error LNK2001: could not be resolved
      How should solve
  • file not found Excepción de HRESULT: 0x80070002, content problem
    3 Posts | Last post January 07, 2014
    • Hi Ahmed,
      Great job, you save my life :),
      In my app, I have to download a zip file containing the pdf file I have to show, and these files are not BuildAction Content, then this code fail
      var file = await 
      error file not found Excepción de HRESULT: 0x80070002,
      Any idea?
      Thanks so much for your job.
    • thanks a lot Jorge, if you download the file in runtime it wont be in InstalledLocation but in localfolder
       try this
      StorageFolder localFolder = Windows.Storage.ApplicationData.Current.LocalFolder;
      StorageFile sampleFile = await localFolder.GetFileAsync("dataFile.txt");
    • Ahmed,
      Thanks so much!!!
  • VS 2013
    4 Posts | Last post December 05, 2013
    • Can i use this library in my project in VS 2013 for Win 8.1?
    • yup, but for win8.1 there is an official api for pdf take a look on it first.
    • Yes. But i have some troubles with standart api... It renders blank pages for 95% times...your library opened for me pdf all times for win8! But I tried to build your project for Win 8.1, but in 8.1 it consist some errors, which I cannot resolve... Can You ported your library for Win 8.1?
    • ok , i will try to port it at the next weekend
  • Search, Bookmark, functionality?
    3 Posts | Last post December 02, 2013
    • Thanks Ahmed-Fouad for the wonderful sample, how can we implement Search, Bookmark, etc., functionality? Is there any API for that?
    • till now , i think MUPDF do not expose Bookmarks api, in my next weekend i will try to add this features in the main library  
    • Thanks, can you include search functionality as well?. I have used SearchText Api in MUPDF.WinRT Library to search text with the given text and page number, it will return list of position of text which could be found in that page. But i don't know how to highlight the text and make it advanced search like find next, find previous, match text etc.,?.....
  • Great Job
    8 Posts | Last post December 01, 2013
    • Tks for sample
    • thanks a lot
    • 2 Parts the MuPDFWinRT which is the C++ WinRT Component it is a Win32 Component that can be compiled for both x86 and ARM Architects
      * Do weed two client package to run the app in both x86 and ARM?
    • Sorry, Do we need two separate client package to run the app in both x86 and ARM?
    • yes, as you cannot create one package for both x86 and ARM.
    • Once we get the MuPDF library for x64 support also, then we can create single package for the Platform target as "Any CPU". Am i right?
    • yes
    • sorry, i mean no as visual c++ based projects does not support neutral packages
  • can not open with vs2012
    2 Posts | Last post November 28, 2013
    • i can not open MuPDFWinRT in my vs2012...
      and there is not dll in the download files
      i can not run it 
    • You need to build MuPDFWinRT and then PDFReader. And which dll is not in the download files?, i think no more dll in the downloaded file....