[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Collapse]Office File API
  Demo Application
  Redistribution and Deployment
 [Collapse]Spreadsheet Document API
   Product Structure
   Getting Started
  [Collapse]Spreadsheet Document
    Cells and Cell Ranges
    Rows and Columns
    Measure Units
   Supported Formats
  [Expand]Cell Basics
  [Expand]Spreadsheet Formulas
   Defined Names
   Data Binding
  [Expand]Pivot Tables
  [Expand]Shapes, Pictures, Charts
  [Expand]Mail Merge
 [Expand]Word Processing Document API
 [Expand]PDF Document API
 [Expand]Excel Export Library
 [Expand]Snap Report API
 [Expand]Zip Compression and Archive API
 [Expand]Barcode Generation API
 [Expand]Unit Conversion API
 [Expand]API Reference
[Expand]Report and Dashboard Server
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

Measure Units

You can select a single unit of measurement to specify various distance values of a workbook (such as column width, row height and page margins). To do this, set the Workbook.Unit property.

Unit of Measurement


How to Use


Document (1 document unit is equal to 1/300 of an inch). This is a default measure unit of a workbook.

Set the Unit property to DocumentUnit.Document.


Centimeter (1 inch is equal to 2.54 centimeters)

Set the Unit property to DocumentUnit.Centimeter.


Millimeter (10 millimeters are equal to 1 centimeter)

Set the Unit property to DocumentUnit.Millimeter.



Set the Unit property to DocumentUnit.Inch.


Point (1 inch is equal to 72 points)

Set the Unit property to DocumentUnit.Point.


Pixel (1 inch is equal to 96 pixels). You can use this unit to set column width.

Use the following properties to set column width in pixels.




Character (the width of the zero character in the font specified by the built-in Normal style). You can use this unit to set column width.

Use the following properties to set column width in characters.




A workbook's units of measurement specified by the Unit property are used in the following cases.

Expanded See Also

Is this topic helpful?​​​​​​​