Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
SaveImage Method (String)

Chart.SaveImage Method (String)

.NET Framework 4.6 and 4.5

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


Type: System.String

The image file name.

.NET Framework

Supported in: 4.6, 4.5, 4
© 2015 Microsoft