How to display PDF document from URL using SfPdfViewer in Xamarin.Android?
At present SfPdfViewer in Xamarin.Android do not have a direct support to display the PDF document from URL. However, as a workaround you can download the document or files from URL as Stream using WebClient class and load it in the PDF viewer.
The below code snippet illustrates how to download the PDF document from URL as Stream using WebClient:
Then we can load the downloaded PDF document Stream to display it in PDF viewer in Xamarin.Android. Please find the code snippet below for your reference:
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|