[]
        
(Showing Draft Content)

C1.Win.C1Chart3D.Chart3DData.SaveDataToFile

SaveDataToFile Method

SaveDataToFile(string)

Saves the contents of the current Chart3DData object to the specified file in XML or ComponentOne Chart 7 format (.dat).

Declaration
public void SaveDataToFile(string filename)
Parameters
Type Name Description
string filename

File name.

Remarks

This method saves the Chart3DData object contents to the specified file. The data format is defined by file extension. If file extension is �dat� then ComponentOne Chart 7 data format is used. Using any other extension leads to saving data in xml format. If an error occurs during the file creation or writing, an appropriate exception is thrown indicating the cause of error.

See Also

SaveDataToFile(string, DataFormatEnum)

Saves the contents of the current Chart3DData object to the specified file in XML or ComponentOne Chart 7 format (.dat).

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

File name.

DataFormatEnum 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