Back to Devexpress

XRChart.SaveToStream(Stream) Method

xtrareports-devexpress-dot-xtrareports-dot-ui-dot-xrchart-dot-savetostream-x28-system-dot-io-dot-stream-x29.md

latest1.7 KB
Original Source

XRChart.SaveToStream(Stream) Method

Saves the chart’s layout to the specified stream.

Namespace : DevExpress.XtraReports.UI

Assembly : DevExpress.XtraReports.v25.2.dll

NuGet Package : DevExpress.Reporting.Core

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 XRChart.LoadFromStream method.

See Also

LoadFromStream(Stream)

SaveToFile(String)

XRChart Class

XRChart Members

DevExpress.XtraReports.UI Namespace