Save all the chart information, including data and images to the returned string with optional formatting.
Namespace:
C1.Win.C1ChartAssembly: C1.Win.C1Chart.2 (in C1.Win.C1Chart.2.dll)
Syntax
C# |
---|
public string SaveChartAndImagesToString( bool formatting ) |
Visual Basic |
---|
Public Function SaveChartAndImagesToString ( _ formatting As Boolean _ ) As String |
Parameters
- formatting
- Type: System..::..Boolean
Whether to use formatting in XML output.
Return Value
The string which contains chart description.Remarks
This method saves the chart contents to the specified string in XML format.
If an error occurs, an appropriate exception is thrown indicating the cause of error.