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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to resolve “UWP Getting Exception "Could not find Windows Runtime type 'Microsoft.Graphics.Canvas.CanvasDevice'" When trying to save in UWP?


When you try to save image in Image Editor, you may get “Could not find Windows Runtime type “Microsoft.Graphics.Canvas.CanvasDevice” exception, because UWP does not have support for 2D graphics rendering to save image. To resolve this exception, you should install Windows Runtime API Win2D, which is used for 2D graphics rendering for the Universal Windows Platforms.  


Runtime Exception



How to install Win2D to project?


Please refer the following steps to add Win2D NuGet to the UWP Project.

Step 1: Right click the UWP Project, and then select Manage NuGet Packages.


C:\Users\samkumar.arivazhagan\AppData\Local\Microsoft\Windows\INetCache\Content.Word\Manage Nuget Package.png


Step 2: In NuGet Manager, click browse Win2D, and then click Install.




Step 3: Please ensure that NuGet has been installed properly.



Article ID: Published Date: Last Revised Date: Platform: Control:
8290 01/10/2018 07/05/2018 Xamarin.Forms SfImageEditor
Did you find this information helpful?
Add Comment
You must log in to leave a comment

Please sign in to access our KB

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon