rvico TRichView Reference | TRVStyle


Top  Previous  Next

Defines units of measurement for properties of TRVStyle and linked controls.

property Units: TRVStyleUnits

(introduced in version 13)

All values of type TRVStyleLength are measured in units specified in this property.

Assignment to this property does not convert properties to new units. To change units of measurement, at first call one of ConvertDocTo* methods of all TRichView components linked to this TRVStyle, then call one of ConvertTo* methods to convert properties of this TRVStyle component to the same units of measurement.

At design time, you can convert units using TRVStyle's context menu ("Convert to Pixels" or "Convert to Twips" commands).

Default value:


See also properties:

Units of measurement in TRichView (contains a list of properties measured in Units)

TRichView © trichview.com