Skip to main content

WebDocumentViewerExtension.Bind(XtraReport) Method

Binds the Document Viewer to a report.

Namespace: DevExpress.Web.Mvc

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

Declaration

public WebDocumentViewerExtension Bind(
    XtraReport report
)

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