Hi,
is it possible to zoom the richview-display?
Thanks,
Daniel
Zoom-Feature?
-
- Site Admin
- Posts: 17559
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Thanks for answering, Sergey.Sergey Tkachenko wrote:No, currently it's not possible.
Zooming is implemented only in TRVPrintPreview component
Any plans to implement a zoom feature?
We've added a zooming feature in our app using the "ScaleBy" method on forms. Works fine, but no effect on richview components....
If it's not planned to implement this, I will have to find out some way to get an easy preview for zoom-addicts
Thanks again, Daniel
-
- Site Admin
- Posts: 17559
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Note that pixelsPerInch also does not affect hardcoded spacings like margins etc.
If you are going to start, DO not set the Trichview properties directly. Create your own wrappers around the Trichview that takes the values you set (assumed at 100% zoom) and scales them before passing them along to the tRichview. Then anytime you make changes you set up the richview again. It works quite well if you can do it from the start, and not have to go back and figure out where you set all the properties manually.
Also, your wrapper has to handle things you may not have set, like margins, cell paddings etc.
If you are going to start, DO not set the Trichview properties directly. Create your own wrappers around the Trichview that takes the values you set (assumed at 100% zoom) and scales them before passing them along to the tRichview. Then anytime you make changes you set up the richview again. It works quite well if you can do it from the start, and not have to go back and figure out where you set all the properties manually.
Also, your wrapper has to handle things you may not have set, like margins, cell paddings etc.