Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to display pdf file in UWP app?

Tags:

uwp-xaml

How do I save pdf file from internet(I have this url: "https://s3.amazonaws.com/example.pdf") to local storage and then convert in image and display in UWP app?

like image 832
Doodle Avatar asked May 23 '16 10:05

Doodle


People also ask

How do I access the file system in UWP?

Access the file system. In the UWP platform, folder access is restricted to ensure the integrity and privacy of the user's data. App folders. When a UWP app is installed, several folders are created under c:\users<user name>\AppData\Local\Packages<app package identifier>\ to store, among other things, the app's local, roaming, and temporary files.

Why is folder access restricted in UWP apps?

In the UWP platform, folder access is restricted to ensure the integrity and privacy of the user's data. When a UWP app is installed, several folders are created under c:\users<user name>\AppData\Local\Packages<app package identifier>\ to store, among other things, the app's local, roaming, and temporary files.

How to read PDF files on Windows 10?

Reading PDF files has involved third party libraries previously, but now in Windows 10, you can easily implement this using Launcher API. Create a new Windows 10 universal app. For creating a new Windows 10 universal project, refer to the following: Now create one button to select the file. Go to the code behind and write the below code.

How to create a Windows 10 universal application?

Create a new Windows 10 universal app. For creating a new Windows 10 universal project, refer to the following: Now create one button to select the file. Go to the code behind and write the below code. Create an instance for a StorageFile class to store the file details.


Video Answer


1 Answers

Pieter Nijs has a great post about this on his blog at http://blog.pieeatingninjas.be/2016/02/06/displaying-pdf-files-in-a-uwp-app/

like image 98
Vitaly Avatar answered Oct 09 '22 21:10

Vitaly