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?
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.
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.
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.
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.
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/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With