XtraReport.SaveLayout(String) Method
Saves the report definition to a file as a Code Document Object Model (CodeDOM) graph.
Namespace: DevExpress.XtraReports.UI
Assembly: DevExpress.XtraReports.v24.1.dll
NuGet Package: DevExpress.Reporting.Core
Declaration
Parameters
Name | Type | Description |
---|---|---|
fileName | String | A String that is the path and file name in which to save the report. |
Remarks
A report definition contains all report settings and information about report controls. The SaveLayout
method saves a report as a Code Document Object Model (CodeDOM) graph. To save a report definition in XML format, use the XtraReport.SaveLayoutToXml method.
Use the XtraReport.LoadLayout and XtraReport.FromFile methods to load a report.
For more information, review the following help topic: Store Report Layouts.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the SaveLayout(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.