Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

Size Class

Contains height and width settings.

#Declaration

TypeScript
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

TypeScript
height: number

#Property Value

Type Description
number

The height value.

#width Property

Specifies the width of an element.

#Declaration

TypeScript
width: number

#Property Value

Type Description
number

The width value.