I am looking for a solution for a problem with the ZoomModule function
Lets say we have a module M where we load a big panel P. The panel is bigger than the module and so it is displayed with scroll bars. So far so good.
Now I have an object O in panel P, which I would like to bring in focus, for this we obtain the x and y position of the object and use
Code: Select all
ZoomModule()However, I am now looking for a way to obtain the current x and y "zoom position" of the module (
Code: Select all
getZoomFactor()I would also be satisfied if there would be a function to check whether a specific shape is currently in the visible range of the scrolled/zoomed panel.
Background information:
For very big panels, ZoomModule fails if called at an early stage. Just observing the _ui datapoint
Code: Select all
.Zoom.ModuleName:Thanks in advance!