Chart.SaveImage Method (Stream, ChartImageFormat)

.NET Framework (current version)
 

Saves the chart image to the specified stream.

Namespace:   System.Web.UI.DataVisualization.Charting
Assembly:  System.Web.DataVisualization (in System.Web.DataVisualization.dll)

public void SaveImage(
	Stream imageStream,
	ChartImageFormat format
)

Parameters

imageStream
Type: System.IO.Stream

The image stream.

format
Type: System.Web.UI.DataVisualization.Charting.ChartImageFormat

The chart image format.

.NET Framework
Available since 4.0
Return to top
Show: