Skip to main content

TdxMeasurementUnit Type

Enumerates measurement units used in a document.

Declaration

TdxMeasurementUnit = dxRichEdit.NativeApi.TdxRichEditDocumentUnit;

Referenced Class

Type
TdxRichEditDocumentUnit

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

TdxMeasurementUnit 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 TdxMeasurementUnit.Document (in Delphi) or TdxMeasurementUnit::Document (in C++Builder) to refer to the Document value in code.

See Also