TdxMeasurementUnit Type
In This Article
Enumerates measurement units used in a document.
#Declaration
Delphi
TdxMeasurementUnit = dxRichEdit.NativeApi.TdxRichEditDocumentUnit;
#Referenced Class
Type |
---|
Tdx |
#Remarks
Options include:
Value | Description |
---|---|
Document | This unit corresponds to 1/300 of an inch. The Rich Edit control uses this measurement unit to perform all internal size and position calculations. |
Inch | Sets an inch as a measurement unit. |
Millimeter | Sets a millimeter as a measurement unit. |
Centimeter | Sets a centimeter as a measurement unit. |
Point | Sets a typographic point as a measurement unit. A point equals to 1/72 of an inch. |
A Rich Edit control’s MeasurementUnit property references the TdxMeasurementUnit type.
Note
Tdx
is a scoped enumeration type. Use the type name together with a scope resolution token (.
in Delphi or ::
in C++Builder) followed by an enumeration value to refer to this value. For example, use Tdx
(in Delphi) or Tdx
(in C++Builder) to refer to the Document
value in code.
See Also