GetViewRect Method [Visio 2003 SDK Documentation]
Returns the page coordinates of a window's borders.
object**.GetViewRect** (doubleLeft, doubleTop, doubleWidth, doubleHeight)
object Required. An expression that returns a Window object.
doubleLeft Required Double. The coordinate in page units of the left side of the window.
doubleTop Required Double. The coordinate in page units of the top of the window.
doubleWidth Required Double. The distance in page units from the left side to the right side of the window.
doubleHeight Required Double. The distance in page units from the top to the bottom of the window.
Version added
2000
Remarks
If the Window object is not a visDrawing type, the GetViewRect method raises an exception.
Applies to | Window object
See Also | Scroll method | ScrollViewTo method | SetViewRect method | ViewChanged event