Back to Devexpress

WebChartControl.SaveToStream(Stream) Method

aspnet-devexpress-dot-xtracharts-dot-web-dot-webchartcontrol-dot-savetostream-x28-system-dot-io-dot-stream-x29.md

latest2.0 KB
Original Source

WebChartControl.SaveToStream(Stream) Method

Saves the chart’s layout to the specified stream.

Namespace : DevExpress.XtraCharts.Web

Assembly : DevExpress.XtraCharts.v25.2.Web.dll

NuGet Package : DevExpress.Web.Visualization

Declaration

csharp
public void SaveToStream(
    Stream stream
)
vb
Public Sub SaveToStream(
    stream As Stream
)

Parameters

NameTypeDescription
streamStream

A Stream descendant to which the chart’s layout is written.

|

Remarks

The SaveToStream method saves the chart’s layout (the currently selected series views and its settings, etc.) to the specified stream. The saved settings can then be restored from storage using the WebChartControl.LoadFromStream method.

For more information, refer to Storing the Chart Layout.

See Also

LoadFromStream(Stream)

SaveToFile(String)

Store the Chart Layout

WebChartControl Class

WebChartControl Members

DevExpress.XtraCharts.Web Namespace