Saves the contents of the current Chart3DData object to the specified file in XML or ComponentOne Chart 7 format (.dat).
Namespace:
C1.Win.C1Chart3DAssembly: C1.Win.C1Chart3D.2 (in C1.Win.C1Chart3D.2.dll)
Syntax
C# |
---|
public void SaveDataToFile( string filename, DataFormatEnum dataFormat ) |
Visual Basic |
---|
Public Sub SaveDataToFile ( _ filename As String, _ dataFormat As DataFormatEnum _ ) |
Parameters
- filename
- Type: System..::..String
File name.
- dataFormat
- Type: C1.Win.C1Chart3D..::..DataFormatEnum
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.