<< Click to display table of contents >> TRVStyle.ConvertToPixels, ConvertToTwips, ConvertToEMU, ConvertToDifferentUnits |
The methods convert all properties of this TRVStyle component to new units of measurement.
procedure ConvertToPixels;
procedure ConvertToTwips;
procedure ConvertToEMU;
procedure ConvertToDifferentUnits(NewUnits: TRVStyleUnits);
(introduced in versions 13, 18)
The methods convert all properties of this TRVStyle (including all sub-properties) from Units to:
▪pixels (1 pixel = 1/UnitsPixelsPerInch of an inch)
▪twips,
▪EMU
▪NewUnits (pixels, twips, or EMU),
respectively.
After the conversion, a new value is assigned to Units property.
If there is a document in TRichView control linked to this TRVStyle component, this document must be converted before calling this method.
See also: