←Select platform

MouseWheelDeltaMultiplier Property

Summary

Mouse wheel delta multiplier.

Syntax
C#
VB
C++
public double MouseWheelDeltaMultiplier {get; set;} 
Public Property MouseWheelDeltaMultiplier() As Double 
   Get 
   Set 
public:  
   property double MouseWheelDeltaMultiplier 
   { 
      double get() 
      void set(double value) 
   } 

Property Value

The mouse wheel delta multiplier to use. Must be a value greater 0. The default value is 1.

Remarks

When scrolling using the mouse wheel, the system (Operating system or browser) sends a native mouse wheel event with a fixed delta value. For instance, this value is 120 in Windows (and internet browsers) to scroll the viewer by 120 units (pixels). Increase or decrease the scrolling interval value of MouseWheelDeltaMultiplier as follows:

C#
// Increase mouse wheel scrolling speed to be twice as fast. In Windows and internet browsers 
// this will scroll by 2 * 120 = 240 pixels with each mouse wheel event. 
imageViewer.InteractiveService.MouseWheelDeltaMultiplier = 2.0; 

Or:

C#
// Decrease mouse wheel scrolling speed to be half as fast. In Windows and internet browsers 
// this will scroll by .5 * 120 = 60 pixels with each mouse wheel event. 
imageViewer.InteractiveService.MouseWheelDeltaMultiplier = 0.5; 

Requirements

Target Platforms

Help Version 20.0.2020.2.17
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly