ComponentOne 3D Chart for WinForms
C1.Win.C1Chart3D.4.8 Assembly / C1.Win.C1Chart3D Namespace / Chart3DData Class / LoadDataFromFile Method / LoadDataFromFile(String) Method
File name.

In This Topic
    LoadDataFromFile(String) Method
    In This Topic
    Load the contents of the current Chart3DData object from the specified file.
    Syntax
    'Declaration
     
    Public Overloads Sub LoadDataFromFile( _
       ByVal filename As System.String _
    ) 
    public void LoadDataFromFile( 
       System.string filename
    )

    Parameters

    filename
    File name.
    Remarks
    This method loads the current Chart3DData object with the contents of the specified file. The data format is defined by file extension. If file extension is �dat� then ComponentOne Chart 7 data format is used for loading data. Using any other extension leads to reading data in xml format. If an error occurs during the file reading, an appropriate exception is thrown indicating the cause of error.
    See Also