Window.Scroll Method
Visio Automation Reference |
Scrolls the contents of a window vertically, horizontally, or both.
Version Information
Version Added: Visio 2000
Syntax
expression.Scroll(nxFlags, nyFlags)
expression A variable that represents a Window object.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
nxFlags | Required | Long | Indicates how to scroll horizontally. |
nyFlags | Required | Long | Indicates how to scroll vertically. |
Return Value
Nothing
Remarks
If the Window object is not a built-in MDI or built-in docked stencil type, the Scroll method raises an exception.
Constants representing ways to scroll horizontally are declared by the Visio type library in VisWindowScrollX, and constants representing ways to scroll vertically are declared in VisWindowScrollY.
See Also