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

WebDocumentViewerExtension.GetModel(XtraReport, IEnumerable<ClientControlsMenuItem>) Method

Returns the session settings of a Document Viewer with the specified report and menu items.

Namespace: DevExpress.Web.Mvc

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

Declaration

public static WebDocumentViewerModel GetModel(
    XtraReport report,
    IEnumerable<ClientControlsMenuItem> menuItems
)

Parameters

Name Type Description
report XtraReport

An XtraReport object.

menuItems IEnumerable<ClientControlsMenuItem>

A collection of ClientControlsMenuItem objects.

Returns

Type Description
WebDocumentViewerModel

A WebDocumentViewerModel object.

See Also