Export (0) Print
Expand All

Chart.SaveImage Method (String, ChartImageFormat)

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

Supported in: 4.6, 4.5, 4
Show:
© 2015 Microsoft