2D Chart for WinForms | ComponentOne
C1.Win.C1Chart.4.8 Assembly / C1.Win.C1Chart Namespace / C1Chart Class / SaveChartToFile Method
File name

In This Topic
    SaveChartToFile Method
    In This Topic
    Saves the all of the contents of the control to the specified file, including data.
    Syntax
    'Declaration
     
    Public Sub SaveChartToFile( _
       ByVal Filename As System.String _
    ) 
    public void SaveChartToFile( 
       System.string Filename
    )

    Parameters

    Filename
    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