We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

PdfViewerController

Hi , I am using Angular PdfViewer and want to use service with controller. I get an error message when converting in controller in  "jsonResult = pdfviewer.Load(stream, jsonObject);"

: "System.Drawing.Common is not supported on this platform".

 My operating system is windows and have Asp.Net with Framework 5.0.

 How can I solve this problem? 

I would be very grateful for an answer.

Yours sincerely

Mohammad Abbasi


1 Reply

CK Chinnamunia Karthik Chinna Thambi Syncfusion Team January 5, 2023 02:16 PM UTC

We have tried to reproduce the reported issue but it is not reproducing on our end. We have shared the sample in which we have tried to reproduce the issue in the below link,


Angular sample: https://stackblitz.com/edit/angular-dxub1a-uykuvh?file=app.component.ts,app.component.html,package.json,index.html


Web service sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/WebServiceCore-1083419153.zip


Try this sample and revert to us with the following details, if you have any concerns on this. This will be helpful for us to analyze further and provide the details.


  • Modified sample or share the sample in which the issue is reproduced.
  • Code snippet
  • Replicate procedure

Loader.
Up arrow icon