[Expand]General Information
[Collapse]WinForms Controls
  .NET Core Support
  Prerequisites
 [Expand]What's Installed
 [Expand]Build an Application
 [Collapse]Controls and Libraries
  [Expand]Forms and User Controls
  [Expand]Messages, Notifications, and Dialogs
  [Expand]Editors and Simple Controls
  [Expand]Ribbon, Bars and Menu
  [Expand]Application UI Manager
  [Expand]Docking Library
  [Expand]Data Grid
  [Expand]Vertical Grid
  [Expand]Property Grid
  [Expand]Pivot Grid
  [Expand]Tree List
  [Expand]Chart Control
  [Expand]Diagrams
  [Expand]Gauges
  [Expand]Map Control
  [Expand]Scheduler
  [Expand]Spreadsheet
  [Collapse]Rich Text Editor
   [Expand]Product Information
    Product Class Structure
    Supported Formats
   [Expand]Getting Started
   [Collapse]RichEditControl Document
    [Expand]Document Structure
    [Expand]Document Elements
     Measure Units
   [Expand]Fields
    Text Formatting
    Import and Export
   [Expand]Page Layout
    Printing
    Spell Checking
    AutoCorrect Feature
    Mail Merge
    Restrictions and Protection
   [Expand]Visual Elements
    Services
    Events
    Commands
    Keyboard Shortcuts
    HTML Tag Support
   [Expand]Examples
  [Expand]Spell Checker
  [Expand]Form Layout Managers
  [Expand]Navigation Controls
  [Expand]Printing-Exporting
  [Expand]PDF Viewer
   Reporting
  [Expand]Snap
  [Expand]TreeMap Control
  [Expand]Sunburst Control
 [Expand]Common Features
  Get More Help
 [Expand]API Reference
[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
[Expand]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush
[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 document (page width and height, margins, etc.). Set the Document.Unit or RichEditControl.Unit property to one of the following values:

Unit of Measurement Description
Document Default property value. A document unit corresponds to 1/300 of an inch. Internal calculations are currently performed using this unit of measurement.
Centimeter Centimeter (1 inch is equal to 2.54 centimeters)
Inch Inch
Millimeter Millimeter (10 millimeters are equal to 1 centimeter)
Point Point (1 inch is equal to 72 points)

Expanded Measure Units in the RichEditControl Document

The Document.Unit property value determines the units of measurements in the following cases:

Document elements on the Document Layout level are measured in DocumentLayoutUnit.Twip (1 inch is equal to 1440 twips). This measurement is used when you determine the coordinates of the layout elements (the LayoutElementBase.Bounds property), the cursor bounds (the RichEditView.GetCursorBounds property), etc.

Tip

Use the Units class methods to convert units of measurements.

Expanded See Also

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