ReportDesigner.OpenDocument(String, Action<ReportDesignerDocument>) Method
In This Article
Loads a report from the specified REPX file and opens it in the End-User Report Designer.
Namespace: DevExpress.Xpf.Reports.UserDesigner
Assembly: DevExpress.Xpf.ReportDesigner.v24.2.dll
NuGet Package: DevExpress.Wpf.Reporting
#Declaration
public ReportDesignerDocument OpenDocument(
string reportFilePath,
Action<ReportDesignerDocument> beforeLoad = null
)
#Parameters
Name | Type | Description |
---|---|---|
report |
String | A string that specifies the full path to the report file (. |
#Optional Parameters
Name | Type | Default | Description |
---|---|---|---|
before |
Action<Report |
null | An action that will be invoked before the report is loaded. |
#Returns
Type | Description |
---|---|
Report |
A designer document that displays the report from the specified file. |
#Remarks
The OpenDocument method creates a new instance of the ReportDesignerDocument class and loads a report to it.
See Also