WebDocumentViewerBuilder.Bind(XtraReport) Method

Binds the Web Document Viewer to a specified report.

Namespace: DevExpress.AspNetCore.Reporting.WebDocumentViewer

Assembly: DevExpress.AspNetCore.Reporting.v18.1.dll

Syntax

public WebDocumentViewerBuilder Bind(
    XtraReport report
)

Parameters

Type Name Description
XtraReport report

The report to be bound to the Document Viewer.

Returns

Type Description
WebDocumentViewerBuilder

A WebDocumentViewerBuilder that can be used to further configure the Document Viewer.

The document generation method used to display the specified report in a Document Viewer may consume a lot of memory. To avoid this, use the Bind(String) method overload with a string parameter instead.