Skip to main content
A newer version of this page is available. .

WebDocumentViewerBuilder.Bind(XtraReport) Method

Passes the specified report to the Web Document Viewer.

Namespace: DevExpress.AspNetCore.Reporting.WebDocumentViewer

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

NuGet Package: DevExpress.AspNetCore.Reporting

Declaration

public WebDocumentViewerBuilder Bind(
    XtraReport report
)

Parameters

Name Type Description
report XtraReport

The report to be bound to the Document Viewer.

Returns

Type Description
WebDocumentViewerBuilder

A WebDocumentViewerBuilder object for use in method chaining.

Remarks

Each call to this method creates a new report instance and passes it to the Web Document Viewer. To reduce memory usage, call another method overload with a string as a parameter.

The WebDocumentViewerBuilder.Bind(String) method overload enables you to implement a report cache and a custom name resolver to optimize the workload and memory usage.

See Also