ViewerMode Property

Gets or sets the manner in which a user can use the mouse to change the viewpoint.

Syntax

object.ViewerMode [= value]

Parameters

value
A Short expression whose value affects the user's ability to manipulate the graph with the mouse. Valid values follow:

value Name Description
0 FIXED The camera can't be moved using the mouse.
1 EXAMINE Dragging the mouse with the left button down rotates the camera around the center of interest.
2 PAN Dragging the mouse with the left button down moves the center of interest and the camera in tandem.

Remarks

When ViewerMode is set to 1 (EXAMINE), you can zoom in and out by holding the Shift key down and using the left mouse button. Place the mouse cursor in the graph window, press and hold the Shift key and the left mouse button, then drag the mouse up the screen to zoom in, or down the screen to zoom out.