Share via


Window.ScrollViewTo Method

Visio Automation Reference

Scrolls a window to a particular page coordinate.

Version Information
 Version Added:  Visio 2000

Syntax

expression.ScrollViewTo(x, y)

expression   A variable that represents a Window object.

Parameters

Name Required/Optional Data Type Description
x Required Double The x-coordinate to which to scroll.
y Required Double The y-coordinate to which to scroll.

Return Value
Nothing

Remarks

The ScrollViewTo method scrolls to the x and y coordinates.

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

See Also