Skip to main content

DiagramControl.LoadDocument(Stream) Method

Loads a diagram stored in the specified stream.

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v24.1.dll

NuGet Package: DevExpress.Win.Diagram

Declaration

public void LoadDocument(
    Stream stream
)

Parameters

Name Type Description
stream Stream

A stream that stores the diagram to be loaded.

Remarks

A diagram can be saved to a file or stream with the DiagramControl.SaveDocument method.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the LoadDocument(Stream) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also