Skip to main content
Row

Workbook.Unit Property

Gets or sets a unit of measure used in the workbook.

You need a license for the DevExpress Office File API Subscription or DevExpress Universal Subscription to use this property in production code.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Docs.v23.2.dll

NuGet Package: DevExpress.Document.Processor

Declaration

public DocumentUnit Unit { get; set; }

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.

The following code snippets (auto-collected from DevExpress Examples) contain references 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.

Implements

See Also