|Top Previous Next|
Horizontal character scaling value for text of this style, %
property CharScale: Integer;
(Introduced in version 1.5)
By default, value of this property is equal to 100%, and text of this style is displayed with normal proportions. Set it to larger value to make characters wider, and to lesser value to make them narrower.
This value does not affect the height of text.
This example shows text formatted with CharScale = 100, 150, and 80.
Warning: the standard Delphi TFont class does not support character scaling. So be careful if you want to use this value in combination with custom drawing. Any changes of RichView's Canvas.TFont will reset font scaling to default.
TRichView © trichview.com