This question is locked. New answers and comments are not allowed.
Hi,
I was recommended to load pdf documents using a PdfDocumentSource instead of using a WebClient.
But how do I now catch errors which might occur while loading? That was easy using the WebClient, but the PdfDocumentSource seams to swallow all exceptions.
Thanks
Henrik.
I was recommended to load pdf documents using a PdfDocumentSource instead of using a WebClient.
this.pdfViewer.DocumentSource = new PdfDocumentSource(uri);But how do I now catch errors which might occur while loading? That was easy using the WebClient, but the PdfDocumentSource seams to swallow all exceptions.
Thanks
Henrik.
