MouseWheelMode Property (GdViewer)
Gets or sets the mouse wheel mode, that is how the mouse wheel is used to manipulate with the displayed document.
Be aware, that you need to enable the GdViewer.EnableMouseWheel property to properly apply the mouse wheel mode.
Property Value
The default value is ViewerMouseWheelMode.MouseWheelModeZoom.
How to change some properties for controlling the mouse behaviour.
'We assume that the GdViewer1 control has been properly integrated.
GdViewer1.MouseMode = ViewerMouseMode.MouseModeAreaZooming
GdViewer1.MouseButtonForMouseMode = MouseButton.MouseButtonRight
GdViewer1.EnableMouseWheel = True
GdViewer1.MouseWheelMode = ViewerMouseWheelMode.MouseWheelModeZoom
//We assume that the GdViewer1 control has been properly integrated.
GdViewer1.MouseMode = ViewerMouseMode.MouseModeAreaZooming;
GdViewer1.MouseButtonForMouseMode = MouseButton.MouseButtonRight;
GdViewer1.EnableMouseWheel = true;
GdViewer1.MouseWheelMode = ViewerMouseWheelMode.MouseWheelModeZoom;