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

ExtensionsFactory.WebDocumentViewer(Action<WebDocumentViewerSettings>) Method

Creates a WebDocumentViewer.

Namespace: DevExpress.Web.Mvc.UI

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

Declaration

public WebDocumentViewerExtension WebDocumentViewer(
    Action<WebDocumentViewerSettings> method
)
Public Function WebDocumentViewer(
    method As Action(Of WebDocumentViewerSettings)
) As WebDocumentViewerExtension

Parameters

Name Type Description
method Action<WebDocumentViewerSettings>

A delegate method that accepts WebDocumentViewerSettings as a parameter.

Returns

Type Description
WebDocumentViewerExtension

A WebDocumentViewerExtension object implementing the WebDocumentViewer functionality.

See Also