[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]What's Installed
 [Expand]Common Concepts
 [Collapse]ASP.NET WebForms Controls
   Getting Started
  [Expand]Grid View
  [Expand]Tree List
  [Expand]Card View
  [Expand]Chart Control
  [Expand]Pivot Grid
   [Expand]Product Information
    Getting Started
    [Collapse]Spreadsheet Document
      Cells and Cell Ranges
      Rows and Columns
      Measure Units
     Supported Formats
     Import and Export
    [Expand]Cell Basics
    [Expand]Spreadsheet Formulas
     Defined Names
     Data Validation
    [Expand]Data Presentation
     Pivot Table
    [Expand]Mail Merge
     Keyboard Shortcuts
   [Expand]Visual Elements
  [Expand]Rich Text Editor
  [Expand]Site Navigation and Layout
  [Expand]HTML Editor
  [Expand]Vertical Grid
  [Expand]Data Editors
  [Expand]Docking and Popups
  [Expand]File Management
  [Expand]Data and Image Navigation
  [Expand]Multi-Use Site Controls
  [Expand]Spell Checker
  [Expand]Query Builder
 [Expand]ASP.NET MVC Extensions
 [Expand]Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[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

The ASPxSpreadsheet control allows you to select a unit of measurement for various distance values of a workbook (such as column width and row height). To set a single unit of measurement, use the Unit property of the IWorkbook object returned by ASPxSpreadsheet.Document.

Unit of Measurement


How to Use

Document 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 Centimeter (1 inch is equal to 2.54 centimeters) Set the Unit property to DocumentUnit.Centimeter.
Millimeter Millimeter (10 millimeters are equal to 1 centimeter) Set the Unit property to DocumentUnit.Millimeter.
Inch Inch Set the Unit property to DocumentUnit.Inch.
Point Point (1 inch is equal to 72 points) Set the Unit property to DocumentUnit.Point.
Pixel 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 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?​​​​​​​