Workbook.Unit Property
Gets or sets a unit of measure used in the workbook.
You require a license to the DevExpress Office File API or DevExpress Universal Subscription to use this property in production code.
Namespace: DevExpress.Spreadsheet
Assembly: DevExpress.Docs.v18.2.dll
Declaration
Property Value
Type | Description |
---|---|
DocumentUnit | The DocumentUnit enumeration member. |
Available values:
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 GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Unit property.
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.