Window.ScrollViewTo method (Visio)
Scrolls a window to a particular page coordinate.
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.
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.