RichEditControl.Unit Property
In This Article
Gets or sets a measure unit used within the control.
Namespace: DevExpress.XtraRichEdit
Assembly: DevExpress.XtraRichEdit.v24.1.dll
NuGet Packages: DevExpress.Win.PivotGrid, DevExpress.Win.RichEdit, DevExpress.Win.TreeMap
#Declaration
[DefaultValue(DocumentUnit.Document)]
[DXCategory("Layout")]
public DocumentUnit Unit { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Document |
Document | One of the Document |
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. |
See Also