.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

DocumentUnit Enum

Lists measurement units used in the document.

Namespace: DevExpress.Office

Assembly: DevExpress.Office.v21.1.Core.dll

Declaration

[ComVisible(true)]
public enum DocumentUnit

Members

Name Description
Document

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

Inch

Specifies inches as measurement units.

Millimeter

Specifies millimeters as measurement units.

Centimeter

Specifies centimeters as measurement units.

Point

Specifies points as measurement units.

Related API Members

The following properties accept/return DocumentUnit values:

Library Related API Members
WinForms Controls RichEditControl.Unit
SpreadsheetControl.Unit
WPF Controls RichEditControl.Unit
SpreadsheetControl.Unit
Office File API Document.Unit
IRichEditDocumentServer.Unit
ISpreadsheetComponent.Unit
RichEditDocumentServer.Unit
Workbook.Unit

Remarks

Values listed by this enumeration are used to set the RichEditControl.Unit, Document.Unit, SpreadsheetControl.Unit, ISpreadsheetComponent.Unit and Workbook.Unit properties. By default, the DocumentUnit.Document unit is used.

See Also