Description
Enables the viewer's automatic mouse pan/scroll and mousewheel zoom.
-
Property type
-
A mcAutoScrollMethods enumeration.
-
Syntax
-
object.AutoScrollMethod [= value]
The AutoScrollMethod Property syntax has these parts: Settings The settings for value are:
 | mcasmNone | 0 |
no auto scrolling or auto zooming is done
|
 | mcasmScrollWhenMouseDown | 1 |
auto scrolling occurs only when the left mouse button is down.
|
 | mcasmScrollWhenMouseLingers | 2 |
auto scrolling occurs when the mouse lingers close to a border, whether the left mouse button is down or not.
|
 | mcasmZoomWithMouseWheel | 4 |
or this bit in to enable zooming with the mouse wheel when the Ctrl key is pressed.
|
Remarks
The McView window can be auto panned or scrolled when the mouse gets near a border (this can be limited to only occur when the left mouse button is down), and the Magnification can be automatically zoomed in or out when the mousewheel is rotated. The AutoScrollMethod enables or disables these features.
By default, auto pan/scroll is enabled only when the left mouse button is down, and mousewheel zoom is enabled (i.e. both mcasmScrollWhenMouseDown and mcasmZoomWithMouseWheel bits are set).
|