Skip to main content

XRDesignPanel.SaveReport(String) Method

Saves the definition of the report currently open in the XRDesignPanel to the specified file.

Namespace: DevExpress.XtraReports.UserDesigner

Assembly: DevExpress.XtraReports.v24.1.Extensions.dll

NuGet Package: DevExpress.Win.Reporting

Declaration

public void SaveReport(
    string fileName
)

Parameters

Name Type Description
fileName String

A String value specifying the file name.

Remarks

This method saves a report’s definition to an REPX file in the same way as the XtraReport.SaveLayout method does.

Note that the SaveReport method is useful to save a file silently (without any prompt to a user). And, if the fileName parameter is set to an invalid path, this method invokes the XRDesignPanel.SaveReportAs method.

To learn more, refer to Storing Report Layouts.

See Also