Page 1 of 1

How I can to add zoom to RichViewEdit?

Posted: Sat Jul 08, 2017 3:36 pm
by + 1
If I edit text at font size 3-5, this bad see.

Re: How I can to add zoom to RichViewEdit?

Posted: Sat Jul 08, 2017 9:35 pm
by Sergey Tkachenko
TRichViewEdit does not support zoom. It is supported only in ScaleRichView (TSRichViewEdit).

However, you can assign screen dpi to RVStyle.TextStyles.PixelsPerInch global variable. By default, text uses the current screen dpi (Screen.PixelsPerInch), but you can assign another value to RVStyle.TextStyles.PixelsPerInch. The larger value, the lager text size.