Using the VSTO Word Interop libraries, how can you get the screen coordinates / rectangle of the main "Working Area"? That is Left
, Top
, Width
and Height
.
This image quite nicely shows the area I am looking for highlighted as "DISPLAY" - that is the panel/scroll-viewer containing the document.
I came across this answer which shows a nice approach pertaining to Range
s and the Window
itself, but having dug into Window
/ ActiveWindow
, View
and ActivePane
, I was not able to find any properties that get me closer to the "Working Area" I am looking for.
A solution / approach in either C# or VBA would be great.