<< Click to display table of contents >> TSRichViewEdit.ConvertToTwips, ConvertToPixels, ConvertToEMU, ConvertToDifferentUnits |
The methods convert lengths in the documents and RVStyle components to twips, pixels or EMU.
procedure ConvertDocToTwips;
procedure ConvertDocToPixels;
procedure ConvertDocToEMU;
procedure ConvertDocToDifferentUnits(NewUnits: TRVStyleUnits);
The methods convert documents and RVStyles of the following properties to new units:
•RVNote (if a note is being edited)
The methods convert documents in these editors (using ConvertDocTo* methods) and their RVStyles (using Style.ConvertTo* methods).
If you do not change RVStyles of these editors (and rvfoCanChangeUnits is not included in their RVFOptions), it is enough to call a conversion method one time, unit of measurement will be kept.