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

XtraReport.LoadLayoutFromXml(String) Method

Restores the report from its XML definition residing in the specified file.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v20.2.dll

NuGet Packages: DevExpress.Reporting.Core, DevExpress.WindowsDesktop.Reporting.Core

Declaration

public void LoadLayoutFromXml(
    string fileName
)

Parameters

Name Type Description
fileName String

A String, specifying the file name and location.

Remarks

Use the XtraReport.SaveLayoutToXml and LoadLayoutFromXml methods, to store reports in an XML format.

To learn more, see XML Serialization.

The following code snippets (auto-collected from DevExpress Examples) contain references to the LoadLayoutFromXml(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