Skip to main content

XRChart.LoadFromStream(Stream) Method

Restores the chart’s layout from the specified stream.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v24.1.dll

NuGet Package: DevExpress.Reporting.Core

Declaration

public void LoadFromStream(
    Stream stream
)

Parameters

Name Type Description
stream Stream

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