ReportDesigner.OpenDocument(Byte[], Action<ReportDesignerDocument>) Method
In This Article
Restores a report from the specified bytes 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(
byte[] originalReport,
Action<ReportDesignerDocument> beforeLoad = null
)
#Parameters
Name | Type | Description |
---|---|---|
original |
Byte[] | A System. |
#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 restored report. |
#Remarks
The OpenDocument method creates a new instance of the ReportDesignerDocument class and loads a restored report to it.
See Also