[]
        
(Showing Draft Content)

C1.Win.C1Chart.C1Chart.SaveChartTemplateToString

SaveChartTemplateToString Method

SaveChartTemplateToString()

Saves the all of the contents of the control to a string, excluding data.

Declaration
public string SaveChartTemplateToString()
Public Function SaveChartTemplateToString() As String
Returns
Type Description
string
Remarks

This method saves the chart contents to the returned string in XML format. If an error occurs during the string creation, an appropriate exception is thrown indicating the cause of error.

SaveChartTemplateToString(bool)

Saves the all of the contents of the control to a string, excluding data.

Declaration
public string SaveChartTemplateToString(bool formatting)
Public Function SaveChartTemplateToString(formatting As Boolean) As String
Parameters
Type Name Description
bool formatting

Specifies whether the returned string is formatted and indented for readability.

Returns
Type Description
string
Remarks

This method saves the chart contents to the returned string in XML format. If an error occurs during the string creation, an appropriate exception is thrown indicating the cause of error.