XtraReport.SaveLayout(Stream, Boolean) Method
Saves the report definition to a Stream object as a Code Document Object Model (CodeDOM) graph, with an exception thrown if an error occurs.
Namespace: DevExpress.XtraReports.UI
Assembly: DevExpress.XtraReports.v24.2.dll
NuGet Package: DevExpress.Reporting.Core
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
stream | Stream | A Stream object to which to save a report. |
throw |
Boolean |
|
#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.FromStream methods to load a report.
For more information, review the following help topic: Store Report Layouts.