How to reset without losing rotation? - Printable Version
+- AB4D Forum (https://forum.ab4d.com)
+-- Forum: Products Forums (https://forum.ab4d.com/forumdisplay.php?fid=4)
+--- Forum: ZoomPanel (https://forum.ab4d.com/forumdisplay.php?fid=8)
+--- Thread: How to reset without losing rotation? (/showthread.php?tid=196)
How to reset without losing rotation? - JRodman - 11-02-2011
Is there a way to reproduce the behavior of ResetToLimits() but keep the current rotation angle?
RE: How to reset without losing rotation? - abenedik - 11-03-2011
That is very easy. It can be done with:
RE: How to reset without losing rotation? - JRodman - 11-04-2011
That worked thanks. Got another question for you: how do you zoom and pan to a specific object in your xaml? Whats the easiest way to accomplish this?
RE: How to reset without losing rotation? - abenedik - 11-08-2011
Because this problem is probably interested for other users also I have created a new thread with the solution: http://forum.wpf-graphics.com/showthread.php?tid=200
RE: How to reset without losing rotation? - JRodman - 11-14-2011
Had a small issue with this. When I apply a rotation to the zoompanel, using this mechanism to reset zoom no longer works right. It zooms as if it was not rotated. In my case I have a rectangle what will zoom differently if it is landscape vs portrait.