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

Namespace:  C1.Web.C1WebChart
Assembly:  C1.Web.C1WebChart.2 (in C1.Web.C1WebChart.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 only the C1.Win.C1Chart contents to the specified file in XML format. C1WebChart contents are not saved by this method. If an error occurs during the file creation and writing, an appropriate exception is thrown indicating the cause of error.

See Also