Chart.SaveImage Method (Stream, ChartImageFormat)

.NET Framework (current version)
 

Saves the chart image to the specified stream.

Namespace:   System.Windows.Forms.DataVisualization.Charting
Assembly:  System.Windows.Forms.DataVisualization (in System.Windows.Forms.DataVisualization.dll)

public void SaveImage(
	Stream imageStream,
	ChartImageFormat format
)

Parameters

imageStream
Type: System.IO.Stream

The stream in which the image is saved to.

format
Type: System.Windows.Forms.DataVisualization.Charting.ChartImageFormat

The chart image format.

.NET Framework
Available since 4.0
Return to top
Show: