IViewSettings Interface

Declares the Rich Text Editor's view settings.

Declaration

export interface IViewSettings

Properties

simpleViewSettings Property

Provides access to the Simple view mode's settings.

Declaration

simpleViewSettings?: ISimpleViewSettings

Property Value

Type Description
ISimpleViewSettings

An interface that declares the Simple view mode's settings.

Remarks

Set the viewType property to Simple to enable the Simple view mode.

options.view.viewType = DevExpress.RichEdit.ViewType.Simple;
options.view.simpleViewSettings.fixedWidth = 300;
options.view.simpleViewSettings.paddings = {top: 40, right: 40, bottom: 40, left: 40};

Alternatively, you can specify the Simple view mode's settings on the server (SimpleView(Action<SimpleViewSettingsBuilder>)) or use the client RichEdit object (simpleViewSettings).

Run Demo: Simple View

viewType Property

Specifies a document view layout type.

Declaration

viewType?: ViewType

Property Value

Type Description
ViewType

The document view type.

Remarks

If the viewType property is set to Simple, use the simpleViewSettings property to customize the the Simple view mode's settings.