Skip to main content

TdxRichEditControlBase.LayoutUnit Property

Specifies the measurement unit used for the document layout.

Declaration

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