How to Save Excel chart object as a GIF ?

  • Thread starter Thread starter hype
  • Start date Start date
H

hype

Hi,
When programming using the .NET framework,
How can Is it possible to save the Chart in an existing excel spreadsheet as
a GIF programmatically ?
Thanks,
Hype.
 
When programming using the .NET framework,
How can Is it possible to save the Chart in an existing excel spreadsheet as
a GIF programmatically ?

The Excel application object model exposes a Chart object. If you call the
Export method of the Chart object, you will be able to save the chart as a
gif.

To write code to manipulate Excel, you will need to use the .NET framework's
System.Runtime.InteropServices assembly as Excel (VBA) is COM based.

Good luck!
 
Do you have any sample about how to export charts using
System.Runtime.InteropServices ?
 
Back
Top