Back to Devexpress

Size Class

aspnetcore-js-devexpress-dot-richedit-f996a998.md

latest777 B
Original Source

Size Class

Contains height and width settings.

Declaration

ts
export class Size

Remarks

javascript
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

ts
height: number

Property Value

TypeDescription
number

The height value.

|

width Property

Specifies the width of an element.

Declaration

ts
width: number

Property Value

TypeDescription
number

The width value.

|