Chart::SaveImage Method (String^, ImageFormat^)

.NET Framework (current version)
 

Saves an image to the specified file.

Namespace:   System.Windows.Forms.DataVisualization.Charting
Assembly:  System.Windows.Forms.DataVisualization (in System.Windows.Forms.DataVisualization.dll)

public:
void SaveImage(
	String^ imageFileName,
	ImageFormat^ format
)

Parameters

imageFileName
Type: System::String^

The name of the file in which image is saved to.

format
Type: System.Drawing.Imaging::ImageFormat^

The image format.

.NET Framework
Available since 4.0
Return to top
Show: