Saves the all of the contents of the control to the specified file, including data.

Namespace:  C1.Win.C1Chart
Assembly:  C1.Win.C1Chart.2 (in C1.Win.C1Chart.2.dll)

Syntax

C#
public void SaveChartAndImagesToFile(
	string Filename
)
Visual Basic
Public Sub SaveChartAndImagesToFile ( _
	Filename As String _
)

Parameters

Filename
Type: System..::..String
File name

Remarks

This method saves the chart contents to the specified file in XML format. If an error occurs during the file creation and writing, an appropriate exception is thrown indicating the cause of error.

See Also