WebDocumentViewerBuilder(IHtmlHelper, String) Constructor

Creates an object of the WebDocumentViewerBuilder class.

Namespace: DevExpress.AspNetCore.Reporting.WebDocumentViewer

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

Syntax

public WebDocumentViewerBuilder(
    IHtmlHelper htmlHelper,
    string name
)

Parameters

Type Name Description
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")