A newer version of this page is available. Switch to the current version.

ChartControlSettings.LoadFromStream(Stream) Method

Restores the chart's layout from the specified stream.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v18.2.dll

Declaration

public void LoadFromStream(
    Stream stream
)
Public Sub LoadFromStream(
    stream As 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 ChartControlSettings.SaveToStream method. If the specified stream is empty or null (Nothing in Visual Basic), an exception is raised.

For more information, refer to Storing the Chart Layout.

See Also