'Converting an Excel chart to a high-resolution image and vectorgraph

In VSTO, the Excel chart can be exported by the function: chart.export(). But the quality of exported image is so bad and the resolution can not be selected, like: Programmatically (C#) convert Excel to an image.

So are there any other methods that can be used to converting an Excel chart to a high-resolution image and vectorgraph in C#.



Solution 1:[1]

There is 2 solutions to your problem:

1- If you manually zoom in excel before using the export fonction, then the resulting image will have a bigger resolution.

2- Just use this solution: https://stackoverflow.com/a/43143437/9448877

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Maxter