|
Do you have any sample code for Xamarin.Forms using the PDFViewer for downloading a remote file and displaying it in the PDFViewer? |
Please refer the following KB article for loading a PDF from a URL.
We have also replied to the comment you have posted on the KB article.
In addition to the possibility of large size PDF and absence of network connectivity as we mentioned in the comment, the issue may also occur if the URL request through the network to which the device is connected fails.
If so please provide us with the URL of the PDF you are loading. |
|
Also, can the PDFViewer display images, or only PDF's? |
As the name suggests, PdfViewer can be used only with PDF documents. To display images kindly use Syncfusion’s SfImageEditor control. Please refer the below documentation link
|
where does file get saved?
|
pdfViewerControl.DocumentSaveInitiated += PdfViewerControl_DocumentSaveInitiated;private void PdfViewerControl_DocumentSaveInitiated(object sender, Syncfusion.SfPdfViewer.XForms.DocumentSaveInitiatedEventArgs args) { Stream pdfDocumentStream = args.SaveStream; // This saved PDF document stream can be saved locally. } |