Saves the all of the contents of the control to the specified string using optional formatting.
Namespace:
C1.Web.C1WebChartAssembly: C1.Web.C1WebChart.2 (in C1.Web.C1WebChart.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 output string.
Return Value
String that contains chart contents include data and internal images.Remarks
This method saves only the C1.Win.C1Chart contents to the return string in
XML format. C1WebChart contents are not saved by this method.