Home Cooker Classes Others Rice
Classes  >  browser  >  MouseWheel(int,int,int)
browser class : MouseWheel(int,int,int) method

Description

Simulates rotation of the mouse wheel.

Syntax

browserInstance.MouseWheel(int x, int y, int delta)

Arguments

ClassNameDescription
intxx coordinate
intyy coordinate
intdeltaAmount and direction of rotation

Return value

None.

Sample code

1:

browser b = new browser();

2:

b.MouseWheel(10, 10, -10);

Notes

Please specify coordinates in physical pixels.

Links for reference

None.

Copyright © Rice All rights reserved.