Skip to main content

HierarchicalChartControlBase.LoadFromStream(Stream) Method

Restores the HierarchicalChartControlBase descendant’s layout from the specified stream.

Namespace: DevExpress.XtraTreeMap

Assembly: DevExpress.XtraTreeMap.v24.1.UI.dll

NuGet Package: DevExpress.Win.TreeMap

Declaration

public void LoadFromStream(
    Stream stream
)

Parameters

Name Type Description
stream Stream

A Stream descendant from which settings should be read.

Remarks

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

See Also