The requested page is not available for the requested platform. You are viewing the content for Default platform.
All docs
V18.2
19.1 (preview)
18.2
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

BuilderFactoryExtensions.WebDocumentViewer(BuilderFactory) Method

The BuilderFactory class' extension method required to create a Document Viewer Builder.

Namespace: DevExpress.AspNetCore

Assembly: DevExpress.AspNetCore.Reporting.v18.2.dll

Declaration

public static WebDocumentViewerBuilder WebDocumentViewer(
    this BuilderFactory factory
)
<ExtensionAttribute>
Public Shared Function WebDocumentViewer(
    factory As BuilderFactory
) As WebDocumentViewerBuilder

Parameters

Name Type Description
factory BuilderFactory

The BuilderFactory instance that this method extends.

Returns

Type Description
WebDocumentViewerBuilder

The object required to build a Document Viewer.

Remarks

Use this extension method to create a Document Viewer Builder and generate an element for a Document Viewer on a page. Specify an identifier for the element using the returned object's Name(String) method.

@Html.DevExpress().WebDocumentViewer().Name("DocumentViewer").Height("1000px")
See Also