Chart.SaveImage Method (Stream, ImageFormat)

.NET Framework (current version)
 

Saves the image to the specifed stream.

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

public void SaveImage(
	Stream imageStream,
	ImageFormat format
)

Parameters

imageStream
Type: System.IO.Stream

The stream in which the image is saved to.

format
Type: System.Drawing.Imaging.ImageFormat

The image format.

.NET Framework
Available since 4.0
Return to top
Show: