Skip to main content

ChartControl.LoadFromStream(Stream) Method

Loads a chart from the specified stream.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v14.2.dll

#Declaration

public void LoadFromStream(
    Stream stream
)

#Parameters

Name Type Description
stream Stream

A Stream class descendant which contains the chart to be loaded.

#Remarks

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

See Also