Back to Devexpress

RichEditBuilder.Height(Int32) Method

aspnetcore-devexpress-dot-aspnetcore-dot-richedit-dot-richeditbuilder-dot-height-x28-system-dot-int32-x29.md

latest1.5 KB
Original Source

RichEditBuilder.Height(Int32) Method

Specifies the Rich Text Editor’s height on the page.

Namespace : DevExpress.AspNetCore.RichEdit

Assembly : DevExpress.AspNetCore.RichEdit.v25.2.dll

NuGet Package : DevExpress.AspNetCore.RichEdit

Declaration

csharp
public RichEditBuilder Height(
    int height
)

Parameters

NameTypeDescription
heightInt32

A value specifying the Rich Text Editor’s height.

|

Returns

TypeDescription
RichEditBuilder

A RichEditBuilder that can be used to further configure the Rich Text Editor.

|

Remarks

cshtml
@(Html.DevExpress().RichEdit("richEdit")
   .Height(600)
   .ConfirmOnLosingChanges(c => c.Enabled(false))
   .Open("Documents/Example.docx")
)

Run Demo: Rich Text Editor - Overview

See Also

RichEditBuilder Class

RichEditBuilder Members

DevExpress.AspNetCore.RichEdit Namespace