Skip to main content

ISimpleViewSettings Interface

Declares the Simple view mode’s settings.

Declaration

export interface ISimpleViewSettings

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};

Properties

fixedWidth Property

Specifies the width of the Rich Edit content in the Simple view mode.

Declaration

fixedWidth?: number

Property Value

Type Description
number

The width, in pixels.

paddings Property

Sets page paddings in the Simple view mode.

Declaration

paddings?: IPaddings

Property Value

Type Description
IPaddings

An interface that declares padding settings.