Share via


ScrollViewTo Method [Visio 2003 SDK Documentation]

Scrolls a window to a particular page coordinate.

object**.ScrollViewTo** (doubleX, doubleY)

object     Required. An expression that returns a Window object.

doubleX     Required Double. The x-coordinate to which to scroll.

doubleY     Required Double. The y-coordinate to which to scroll.

Version added

2000

Remarks

The ScrollViewTo method scrolls to the doubleX and doubleY coordinates.

If the value of the Window object's Type property is not visDrawing, the method raises an exception.

Applies to | Window object

See Also | GetViewRect method | Scroll method | SetViewRect method | Type property | ViewChanged event