Skip to main content

XRDesignFormExBase.SaveReportAs() Method

Saves the configuration of the report which is currently open in the End-User Report Designer to a file. The folder it is saved to, is specified in the Save As window.

Namespace: DevExpress.XtraReports.UserDesigner

Assembly: DevExpress.XtraReports.v23.2.Extensions.dll

NuGet Package: DevExpress.Win.Reporting

Declaration

public void SaveReportAs()

Remarks

This method invokes the SaveFileDialog, allowing an end-user to specify where the report should be saved. Then, it saves the report definition to the specified REPX file, in the same way as the XtraReport.SaveLayout method does.

To save a report silently (without any dialog shown), use the XRDesignFormExBase.SaveReport method.

The XRDesignFormExBase class is intended to provide a single-document interface to the End-User Report Designer. To provide a multi-document interface, use the XRDesignForm or XRDesignRibbonForm class instead. See Report Designer to learn more.

To learn more, refer to Storing Report Layouts.

See Also