DocumentUnit Enum
Lists measurement units used in the document.
Namespace: DevExpress.Office
Assembly: DevExpress.Office.v24.1.Core.dll
NuGet Packages: DevExpress.Office.Core, DevExpress.Win.Navigation
Declaration
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.