How I can to add zoom to RichViewEdit?

General TRichView support forum. Please post your questions here
Post Reply
+ 1
Posts: 11
Joined: Tue Jun 13, 2017 6:13 am

How I can to add zoom to RichViewEdit?

Post by + 1 » Sat Jul 08, 2017 3:36 pm

If I edit text at font size 3-5, this bad see.

Sergey Tkachenko
Site Admin
Posts: 13584
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: How I can to add zoom to RichViewEdit?

Post by Sergey Tkachenko » Sat Jul 08, 2017 9:35 pm

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.

Post Reply