A newer version of this page is available. Switch to the current version.

WebDocumentViewerExtension.Bind(XtraReport) Method

Binds the Document Viewer to a report.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v18.2.dll

Declaration

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

Parameters

Name Type Description
report XtraReport

A XtraReport object.

Returns

Type Description
WebDocumentViewerExtension

A WebDocumentViewerExtension object.

Remarks

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 WebDocumentViewerExtension.Bind method overload with a string parameter instead.

See Also