I’am trying to create an AutoZoom method to ensure all space of an GoOverview if fully used, and even during resize of GoOverview. But I have difficulty to get the exact size of the associated Goview (I mean the whole size of the view, even a possible part not displayed due to zoom factor and slider). I try using directly Height and Width, but its seem not correct. So I try many other size (DocumentSize, ComputeDocumentBound, and event DisplayRect and DocExtendSize), but none seem perfectly correct.
Somebody have an idea ?
Thank for your answer.
Unfortunately, it doesn’t fit: the zoom is not perfect, an horizontal scroll bar appear in the Overview.
Lets take another example: I have a Goview containing only GoSubGraph, strictly above each other. I need to extend the GoSubGraph width to use all GoView width space but I don’t want horizontal scroll bar to appear. What width of the GoView should I use ?