Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

DocumentLayoutUnit Enum

Lists measurement units used for the document layout.

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.RichEdit.v19.1.Core.dll


public enum DocumentLayoutUnit


Name Description

Specifies documents (one three-hundredths of an inch) as measurement units.


Specifies twips (1,440 twips equal one inch, and 567 twips equal one centimeter) as measurement units.


Specifies pixels as measurement units.

Related API Members

The following properties accept/return DocumentLayoutUnit values:

Library Related API Members
WinForms Controls RichEditControl.LayoutUnit
WPF Controls RichEditControl.LayoutUnit
Office File API IRichEditDocumentServer.LayoutUnit


Values listed by this enumeration are used to set the RichEditControl.LayoutUnit property.

The following code snippets (auto-collected from DevExpress Examples) contain references to the DocumentLayoutUnit enum.


The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also