Chart.SaveImage Method (String, ChartImageFormat)

.NET Framework (current version)
 

Saves a chart image to the file.

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

public void SaveImage(
	string imageFileName,
	ChartImageFormat format
)

Parameters

imageFileName
Type: System.String

The image file name.

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

The chart image format.

.NET Framework
Available since 4.0
Return to top
Show: