WebDocumentViewerBuilder(IHtmlHelper, String) Constructor

Creates an object of the WebDocumentViewerBuilder class.

Namespace: DevExpress.AspNetCore.Reporting.WebDocumentViewer

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

Declaration

public WebDocumentViewerBuilder(
    IHtmlHelper htmlHelper,
    string name
)
Public Sub New(
    htmlHelper As IHtmlHelper,
    name As String
)

Parameters

Type Name Description
Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper htmlHelper

A helper object for creating the Web Document Viewer.

String name

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

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

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

See Also