Introduced in build 9.1
Description
Saves a Chart as a specified image format at a specified file path.C#
vb.net
Parameters
filePath
Astring
representing the filepath you would like to save the image to.
ImageFormat
The file format ExcelWriter will save the chart as. Supported file types include GIF, JPEG, BMP, PNG, EMF, TIFF, and WMF
Exceptions
System.Exception
If there is a problem creating, opening, or writing to the file specified, or reading from the Chart object.Examples
C#
vb.net