Writes a Chart to the specified stream as a specified image format. |
public static void SaveImage(System.IO.Stream stream, ImageFormat imageFormat) |
Public Static Sub SaveImage(ByVal stream As System.IO.stream, ByVal imageFormat As ImageFormat) |
The output stream to write to. This stream must be open and writable. ExcelWriter will not close this stream; the calling program is responsible for closing the stream and releasing the resource. |
The file format ExcelWriter will save the chart as. Supported file types include GIF, JPEG, BMP, PNG, EMF, TIFF, and WMF |
If there is a problem creating, opening, or writing to the file specified, or reading from the Chart object. |
|