ComponentOne 3D Chart for WinForms
C1.Win.C1Chart3D.4.5.2 Assembly / C1.Win.C1Chart3D Namespace / Chart3DData Class / SaveDataToFile Method / SaveDataToFile(String,DataFormatEnum) Method
File name.
Data format.

In This Topic
    SaveDataToFile(String,DataFormatEnum) Method
    In This Topic
    Saves the contents of the current Chart3DData object to the specified file in XML or ComponentOne Chart 7 format (.dat).
    Syntax
    'Declaration
     
    Public Overloads Sub SaveDataToFile( _
       ByVal filename As System.String, _
       ByVal dataFormat As DataFormatEnum _
    ) 
    public void SaveDataToFile( 
       System.string filename,
       DataFormatEnum dataFormat
    )

    Parameters

    filename
    File name.
    dataFormat
    Data format.
    Remarks
    This method saves the Chart3DData object contents to the specified file in specified data format. If an error occurs during the file creation or writing, an appropriate exception is thrown indicating the cause of error.
    See Also