ZennoLab Assemblies Documentation
MouseWheel Method
Example 

Type: System.Int32

The x coordinate inside tab's area for rise mouse wheel event.

Type: System.Int32

The y coordinate inside tab's area for rise mouse wheel event.

Type: System.Double

The size of step in pixel along the x axis.

Type: System.Double

The size of step in pixel along the y axis.

Type: System.Int32

true if necessary to consider scroll position of the browser; otherwise false. Default value is false.

Performs the mouse wheel event in specified point inside the current tab.
Syntax
public void MouseWheel( 
   int x,
   int y,
   double deltaX,
   double deltaY,
   bool considerScroll
)

Parameters

x

Type: System.Int32

The x coordinate inside tab's area for rise mouse wheel event.

y

Type: System.Int32

The y coordinate inside tab's area for rise mouse wheel event.

deltaX

Type: System.Double

The size of step in pixel along the x axis.

deltaY

Type: System.Double

The size of step in pixel along the y axis.

considerScroll

Type: System.Int32

true if necessary to consider scroll position of the browser; otherwise false. Default value is false.

Example
The following code example demonstrates uses of the MouseWheel method.
// perform mouse wheel
instance.ActiveTab.MouseWheel(100, 200, 0, 100);
// perform mouse wheel
$instance->ActiveTab->MouseWheel(100, 200, 0, 100);
Requirements

Target Platforms: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.

See Also

Reference

Tab Class
Tab Members
DragDrop Method
MouseMove Method
MouseClick Method

Send Feedback