Skip to main content

WebDocumentViewerBuilder(IHtmlHelper, String) Constructor

Creates an object of the WebDocumentViewerBuilder class.

Namespace: DevExpress.AspNetCore.Reporting.WebDocumentViewer

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

NuGet Package: DevExpress.AspNetCore.Reporting

Declaration

public WebDocumentViewerBuilder(
    IHtmlHelper htmlHelper,
    string name
)

Parameters

Name Type Description
htmlHelper IHtmlHelper

A helper object for creating the Web Document Viewer.

name String

An identifier for the element representing the Web Document Viewer on a page.

Remarks

Create the WebDocumentViewerBuilder object using the WebDocumentViewer(BuilderFactory, String) extension method instead.

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