ActiveWindow.GetPoint not working for more than one page
I am showing a windows form in Word Document and dynamically setting it's
location accordingly, to achieve this, we retrieve the location using:
applicationObject.ActiveWindow.GetPoint(out left, out top, out width, out
height, range);
which works fine for single page, but when range occupies two pages then
€śGetPoint€ť method is giving exception.
Any idea or workaround?
-Manoj Kumbhar.
|