The interface to the chart object in Excel only allows access to the image representing the chart through two methods:
- export, which saves the image to a file
- CopyPicture, which saves the image to the clipboard
Both of these options are problematic (saving to a file is really slow, and saving to the clipboard could clobber user data).
Is there a better way to do this? The only way I can think of is to use to create a temporary ram disk and mount it under say '%TEMP%\tmp_ram_disk\' so that the save-to-disk option won't be slow, but sure how to do that or if it's even possible. This is a C# project.