Skip to main content
A newer version of this page is available. .

DiagramControl.LoadDocument(String) Method

Loads a diagram stored in the specified file.

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v19.1.dll

Declaration

public void LoadDocument(
    string fileName
)

Parameters

Name Type Description
fileName String

The full path to the file 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(String) 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