Skip to main content

XtraReport.SaveLayout(Stream) Method

Saves the report definition to a Stream as a Code Document Object Model (CodeDOM) graph.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v23.1.dll

NuGet Package: DevExpress.Reporting.Core


public void SaveLayout(
    Stream stream


Name Type Description
stream Stream

A Stream object to which to save a report.


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.

See Also