Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ReportDesignerDocument.SaveAs() Method

Saves a report displayed in the current designer document to a file. The folder to save the file is specified by an end-user in the Save As window.

Namespace: DevExpress.Xpf.Reports.UserDesigner

Assembly: DevExpress.Xpf.ReportDesigner.v24.2.dll

NuGet Package: DevExpress.Wpf.Reporting

#Declaration

public bool SaveAs()

#Returns

Type Description
Boolean

true, if the report has been successfully saved; otherwise, false.

#Remarks

The SaveAs method invokes the System.Windows.Forms.SaveFileDialog, which allows end-users to specify where the report displayed by the current document should be saved. Then, the method saves the report to the specified file.

To save a report silently without showing any dialog, use the ReportDesignerDocument.Save method.

See Also