Introducedin | ||
---|---|---|
|
Description |
---|
Excerpt |
---|
Saves a Chart in as a specified image format at a specified file path. |
Signature | ||||
---|---|---|---|---|
| ||||
public static void SaveImage(String filePath, ImageFormat imageFormat) |
Signature | ||||
---|---|---|---|---|
| ||||
Public Static Sub SaveImage(ByVal filePath As String, ByVal imageFormat stream As ImageFormat) |
Parameters |
---|
Param | ||
---|---|---|
| ||
A |
Param | ||
---|---|---|
| ||
The file format ExcelWriter will save the chart as. Supported file types include GIF, JPEG, BMP, PNG, EMF, EXIFTIFF, and WMF |
Exceptions |
---|
Exception | ||||
---|---|---|---|---|
| ||||
If there is a problem creating, opening, or writing to the file specified, or reading from the workbook Chart object. |
Example | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|