XtraReport.LoadLayoutFromXml(Stream, Boolean) Method
Loads a report from a Stream that contains a serialized report in XML format.
Namespace: DevExpress.XtraReports.UI
Assembly: DevExpress.XtraReports.v24.1.dll
NuGet Package: DevExpress.Reporting.Core
Declaration
Parameters
Name | Type | Description |
---|---|---|
stream | Stream | A Stream object that contains the report serialization data. |
Optional Parameters
Name | Type | Default | Description |
---|---|---|---|
throwOnError | Boolean | False |
|
Remarks
TheLoadLayoutFromXml
method allows you to deserialize a report from the XML serialization data created with the following methods:
- XtraReport.SaveLayoutToXml
- The Save action in the End-User Designer. Review the following topic for more information: Save Report Layouts.
Review the following topics for more information:
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the LoadLayoutFromXml(Stream, Boolean) 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.