Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about Windows 8.1, 10, WindowsPhone, Windows UWP
  • Page:
  • 1

TOPIC:

PDF Viewer for UWP App 5 years 10 months ago #13877

  • gongtom
  • gongtom's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 29
  • Thank you received: 1
Hi,

I just managed to get the PDFViewer_Ein_10... Demo to work. But I cant find any instructions how to integrate the full featured viewer into my UWP app.
Is this even possible?
Of course I know that you can write one on your own with the PDFLib, but thats not an option for me. I already use the viewers for Android and iOS and thought it would be easy to get the same for an Windows 10 App.

Any help would be appriciated, cause I dont want to invest much more tim on something that might not be possible.

Thanks in advance,
Thomas.

Please Log in or Create an account to join the conversation.

PDF Viewer for UWP App 5 years 10 months ago #13879

  • nermeen
  • nermeen's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 962
  • Thank you received: 87
Dear Thomas,

It actually depends on each user's requirements.
You can use the core lib and build the UI on it (which is not an option for you)
You can modify the demo project to make it suitable to your needs.
You can create a project the depends on the demo one.

Form the PDFViewerSDK_Win10 project, you mainly need the view namespace which handles the render part.

Please Log in or Create an account to join the conversation.

PDF Viewer for UWP App 5 years 10 months ago #13890

  • gongtom
  • gongtom's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 29
  • Thank you received: 1
Hi narmeen,

thanks another time for your help.
I managed to integrate the demo PDF viewer into my project. And everything workd until I am trying to save the pdf after making some annotations.
Is it possible that saving only works when I activated a license? Becouse saving works with no problems, when running the demo project itself with the same files in the same directories. But when doing exactly the same (picking a file with the file picker and opening a stream to view it in the PDFReaderPage the PDFDoc returns false, when looking at the attirbute CanSave, even the stream i pass ist definitly writable -> CanWrite = true;

I hope this is the case, cause it would be fixed easily by buying a license, if not maybe you have a hint what might be wrong with your experiance.

Thanks again,
Thomas.

Please Log in or Create an account to join the conversation.

PDF Viewer for UWP App 5 years 10 months ago #13892

  • nermeen
  • nermeen's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 962
  • Thank you received: 87
Yes, you need to activate a license for these features to work.

In the test phase, you can use the demo license, but you need to give your project the same package name of the demo one (2625.RadaeePDFReader)
The following user(s) said Thank You: gongtom

Please Log in or Create an account to join the conversation.

PDF Viewer for UWP App 5 years 10 months ago #13894

  • gongtom
  • gongtom's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 29
  • Thank you received: 1
Thank you again, now everything works fine. I once read that I had to chance the package name, but didn't remember it.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum