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
get fixedWidth(): number | undefined
set fixedWidth(width: number | undefined)
Property Value
Type | Description |
---|---|
number | The width in pixels. |
paddings Property
Sets page paddings in the Simple view mode.
Declaration
get paddings(): IPaddings
set paddings(paddings: IPaddings)
Property Value
Type | Description |
---|---|
IPaddings | An interface that declares padding settings. |