2D Chart for WinForms | ComponentOne
C1.Win.C1Chart.4.5.2 Assembly / C1.Win.C1Chart Namespace / C1Chart Class / SaveChartTemplateToString Method / SaveChartTemplateToString(Boolean) Method
Specifies whether the returned string is formatted and indented for readability.

In This Topic
    SaveChartTemplateToString(Boolean) Method
    In This Topic
    Saves the all of the contents of the control to a string, excluding data.
    Syntax
    'Declaration
     
    Public Overloads Function SaveChartTemplateToString( _
       ByVal formatting As System.Boolean _
    ) As System.String
    public System.string SaveChartTemplateToString( 
       System.bool formatting
    )

    Parameters

    formatting
    Specifies whether the returned string is formatted and indented for readability.
    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.
    See Also