WebDocumentViewerBuilder.Bind(XtraReport) Method

Passes the specified report to the Web Document Viewer.

Namespace: DevExpress.AspNetCore.Reporting.WebDocumentViewer

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

Declaration

public WebDocumentViewerBuilder Bind(
    XtraReport report
)
Public Function Bind(
    report As XtraReport
) As WebDocumentViewerBuilder

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