[]
        
(Showing Draft Content)

C1.Win.C1Chart3D.Chart3DData.LoadDataFromFile

LoadDataFromFile Method

LoadDataFromFile(string)

Load the contents of the current Chart3DData object from the specified file.

Declaration
public void LoadDataFromFile(string filename)
Parameters
Type Name Description
string 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

LoadDataFromFile(string, DataFormatEnum)

Load the contents of the current Chart3DData object from the specified file using specified format.

Declaration
public void LoadDataFromFile(string filename, DataFormatEnum dataFormat)
Parameters
Type Name Description
string filename

File name.

DataFormatEnum dataFormat

Data format.

Remarks

This method loads the current Chart3DData object with the contents to the specified file in specified data format. If an error occurs during the file reading, an appropriate exception is thrown indicating the cause of error.

See Also