Back to Devexpress

XRChart.LoadFromStream(Stream) Method

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

latest1.7 KB
Original Source

XRChart.LoadFromStream(Stream) Method

Restores the chart’s layout from the specified stream.

Namespace : DevExpress.XtraReports.UI

Assembly : DevExpress.XtraReports.v25.2.dll

NuGet Package : DevExpress.Reporting.Core

Declaration

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

Parameters

NameTypeDescription
streamStream

A Stream descendant from which settings are read.

|

Remarks

Use the LoadFromStream method to load the chart’s layout from the stream to which the layout was saved via the XRChart.SaveToStream method. If the specified stream is empty or null ( Nothing in Visual Basic), an exception is raised.

See Also

LoadFromFile(String)

SaveToStream(Stream)

XRChart Class

XRChart Members

DevExpress.XtraReports.UI Namespace