My WP8 app has a WebBrowser control in which the user can pan and zoom the displayed page till it looks good to him/her. I would like to capture the current scaling and translation, so I can later show the same page zoomed to the same size.
I have wb.InvokeScript() to invoke arbitrary scripts for me and wb_ScriptNotify() to capture any returned information, but I cannot figure out what properties of what page element to capture. Standard element.scrollWidth or element.offsetWidth aren't affected by zooming. I was temporarily excited to read about IE10 properties element.scale, element.translationX and element.translationY, but they are properties of a GestureEvent, not an HTML element like document.documentElement or window.
Can anyone provide some hints?