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

TdxRichEditControlBase.LayoutUnit Property

Specifies the measurement unit used for the document layout.

#Declaration

Delphi
property LayoutUnit: TdxDocumentLayoutUnit read; write;

#Property Value

Type
TdxDocumentLayoutUnit

#Remarks

The following table lists the available LayoutUnit property values:

Value Description
Document This unit corresponds to 1/300 of an inch.
Pixel This unit corresponds to a pixel. Use Pixel to improve text rendering and the overall display appearance.
Twip This unit corresponds to a twip (1440 twips equal one inch, and 567 twips equal one centimeter). Use Twip if you need a more accurate document layout. Note that this might distort the appearance of the text content.

The LayoutUnit property’s default value is Pixel.

See Also