SimpleViewSettings Class

Contains the Simple view mode's settings.

Declaration

export class SimpleViewSettings

Remarks

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

richEdit.viewType = DevExpress.RichEdit.ViewType.Simple;
richEdit.simpleViewSettings.fixedWidth = 300;
richEdit.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 | undefined

Property Value

Type Description
number

The width, in pixels.

undefined

The width is not specified.

paddings Property

Sets page paddings in the Simple view mode.

Declaration

paddings: IPaddings

Property Value

Type Description
IPaddings

An interface that declares paddings' settings.