2D Chart for WinForms | ComponentOne
C1.Win.C1Chart.4.5.2 Assembly / C1.Win.C1Chart Namespace / C1Chart Class / SaveChartAndImagesToString Method
Whether to use formatting in XML output.

In This Topic
    SaveChartAndImagesToString Method
    In This Topic
    Save all the chart information, including data and images to the returned string with optional formatting.
    Syntax
    'Declaration
     
    Public Function SaveChartAndImagesToString( _
       ByVal formatting As System.Boolean _
    ) As System.String
    public System.string SaveChartAndImagesToString( 
       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