ScrollViewTo method

Microsoft Visio Developer Reference

ScrollViewTo method

   Example   

Scrolls a window to a particular page coordinate.

Version added

2000

Syntax

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.

Remarks

The ScrollViewTo method scrolls to the doubleX and doubleY coordinates.

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