Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

BuilderFactoryExtensions.WebDocumentViewer(BuilderFactory) Method

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

Namespace: DevExpress.AspNetCore

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

NuGet Package: DevExpress.AspNetCore.Reporting

#Declaration

public static WebDocumentViewerBuilder WebDocumentViewer(
    this BuilderFactory factory
)

#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