Saves a Chart in a specified image format. |
public static void SaveImage(String filePath, ImageFormat imageFormat, int? width, int? height) |
Public Static Sub SaveImage(ByVal filePath As String, ByVal imageFormat stream As ImageFormat, ByVal width as int?, ByVal height as int?) |
A |
The file format ExcelWriter will save the chart as. Supported file types include GIF, JPEG, BMP, PNG, EMF, TIFF, and WMF |
The width of the image in pixels |
The height of the image in pixels. |
If there is a problem creating, opening, or writing to the file specified, or reading from the Chart object. |
|