I just want to know the X/Y of the center of the canvas that user is currently viewing.
Of course the real center is at 0,0. But I am want the X/Y of what user is viewing...
I know I can get a canvas object with:
if(MSApplicationMetadata.metadata().appVersion < 48)
canvasView = context.document.currentView();
canvasView = context.document.contentDrawView();