Skip to main content

Palette.SaveToXml(String) Method

Saves the palette to the specified XML file.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.1.dll

NuGet Package: DevExpress.Charts

Declaration

public void SaveToXml(
    string path
)

Parameters

Name Type Description
path String

A String that specifies the path to the file to which the palette should be saved.

Remarks

To save a palette to a stream, use another overload of the Palette.SaveToXml method that takes a stream parameter.

To load a palette from a file or stream, use the Palette.LoadFromXml method.

See Also