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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to avoid generic error occurred in GDI+ while saving EMF image in Azure?

Platform: WinForms |
Control: XlsIO |
Published Date: November 29, 2018 |
Last Revised Date: January 30, 2019

Syncfusion Essential XlsIO is a .NET Excel library used to create, read, and edit Excel documents. Using this library, you can manipulate Excel documents in Azure platform.


Azure platform does not support manipulation of images in EMF format. So, while using XlsIO in Azure platform, it will throw GDI+ exception when it comes across EMF images. To handle similar scenarios, XlsIO has an API called EnablePartialTrustCode to ensure whether XlsIO library is used in Azure. This will enable XlsIO to handle image manipulation according to Azure platform.




Learn more about Essential XlsIO through the documentation, where you will find features like importing and exporting in DataTable, appending multiple records to worksheet using Template Markers, exporting worksheet into CLR Objects etc., with respective code examples.


Refer here to explore the rich set of Syncfusion Essential XlsIO features.



Starting with v16.2.0.x, if you reference Syncfusion assemblies from trial setup or from the NuGet feed, include a license key in your projects. Refer to link to learn about generating and registering Syncfusion license key in your application to use the components without trail message.








2X faster development

The ultimate WinForms UI toolkit to boost your development speed.
You must log in to leave a comment

Please sign in to access our KB

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

Up arrow icon

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

Live Chat Icon For mobile