Saves the all of the contents of the control to the specified file, including data.
Namespace:
C1.Win.C1ChartAssembly: C1.Win.C1Chart.2 (in C1.Win.C1Chart.2.dll)
Syntax
C# |
---|
public void SaveChartToFile( string Filename ) |
Visual Basic |
---|
Public Sub SaveChartToFile ( _ 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.