ChartToImageConverter error

Hi,

I am trying to convert my presentation in to an array of image. I tried the example demonstrated in the documentation of essential presentation and got below to errors:

1. Save is not a method of image. A way around is to use for each loop with presentation.slides and then convert each slide to image. (By declaring variable as variant type, type image will throw the error). But is should ideally save the image with Image type.

2. [Critical] :  ChartToImageConverter  required xlsio.base library WHY?
even if i include xlsio base library then it gives me the error it can not be converted to presentationDocument.ChartToImageConverter. Without it my charts will not get exported. if I directly use presentationDocument.ChartToImageConverter = New IOfficeChartToImageConverter() then also it gives error that new can not be used with interface type


kindly suggest on urgent basis.

1 Reply

RM Ramaraj Marimuthu Syncfusion Team February 6, 2018 12:26 PM UTC

Hi Ishan,

Thanks for contacting Syncfusion support.

ChartToImageConverter
  required xlsio.base library WHY?

No, ChartToImageConverter doesn’t require XlsIO library. Please find more details regarding Presentation assembly requirements from below link,
https://help.syncfusion.com/file-formats/presentation/assemblies-required

We have created a sample for your below requirement in ASP.NET Web application.
 
1.    Move slide using Presentation library 
2.    Slide with chart to image conversion using Presentation library 
 
Please find the sample from below,
Sample: ASP.NETWeb

Please let us know if you need any further assistances.

Regards,
Ramaraj Marimuthu
 


Loader.
Up arrow icon