Skip to main content

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.v24.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