Palette.SaveToXml(Stream) Method

Saves the palette to the specified stream.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v20.2.dll

Declaration

public void SaveToXml(
    Stream stream
)
Public Sub SaveToXml(
    stream As Stream
)

Parameters

Name Type Description
stream Stream

A Stream that specifies the stream to which the palette should be saved.

Remarks

To save a palette to an XML file, use another overload of the Palette.SaveToXml method that takes a string filePath parameter.

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

See Also