Size Class
Contains height and width settings.
Declaration
export class Size
Remarks
var size = new DevExpress.RichEdit.Size(
richEdit.unitConverter.centimetersToTwips(24),
richEdit.unitConverter.centimetersToTwips(18));
richEdit.document.sections.getByIndex(0).pageSize = size;
Properties
height Property
Specifies the height of an element.
Declaration
height: number
Property Value
Type | Description |
---|---|
number | The height value. |
width Property
Specifies the width of an element.
Declaration
width: number
Property Value
Type | Description |
---|---|
number | The width value. |