2D Chart for WinForms | ComponentOne
C1.Win.C1Chart.4.8 Assembly / C1.Win.C1Chart Namespace / C1Chart Class / SaveChartToString Method / SaveChartToString(Boolean) Method
Whether to use formatting in XML output.

In This Topic
    SaveChartToString(Boolean) Method
    In This Topic
    Save all the chart information, including data to the returned string with optional formatting.
    Syntax
    'Declaration
     
    Public Overloads Function SaveChartToString( _
       ByVal formatting As System.Boolean _
    ) As System.String
    public System.string SaveChartToString( 
       System.bool formatting
    )

    Parameters

    formatting
    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.
    See Also