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.v20.2.Core.dll

Declaration

[ComVisible(true)]
public enum DocumentLayoutUnit

Members

Name Description
Document

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

Twip

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

Pixel

Specifies pixels as measurement units.

Related API Members

The following properties accept/return DocumentLayoutUnit values:

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

Remarks

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.

Note

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