Back to Devexpress

TdxRichEditControlBase.LayoutUnit Property

vcl-dxrichedit-dot-control-dot-core-dot-tdxricheditcontrolbase-617202af.md

latest1.2 KB
Original Source

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:

ValueDescription
DocumentThis unit corresponds to 1/300 of an inch.
PixelThis unit corresponds to a pixel. Use Pixel to improve text rendering and the overall display appearance.
TwipThis 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

TdxRichEditControlBase

TdxRichEditControlBase Members

dxRichEdit.Control.Core Unit