Chart.SaveImage Method (String)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Saves the chart image to the specified file. The properties ImageType, Compression and other Chart control properties are used.

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

public void SaveImage(
	string imageFileName
)

Parameters

imageFileName
Type: System.String

The image file name.

.NET Framework
Available since 4.0
Return to top
Show: