MouseEventArgs.wheelDelta Property

Parent Object: MouseEventArgs
Defined in namespace "adsk::core" and the header file is <Core/UserInterface/MouseEventArgs.h>

Description

Gets a signed count of the number of detents the mouse wheel has rotated.

Syntax

"mouseEventArgs_var" is a variable referencing a MouseEventArgs object.

# Get the value of the property.
propertyValue = mouseEventArgs_var.wheelDelta
"mouseEventArgs_var" is a variable referencing a MouseEventArgs object.
#include <Core/UserInterface/MouseEventArgs.h>

// Get the value of the property.
integer propertyValue = mouseEventArgs_var->wheelDelta();

Property Value

This is a read only property whose value is an integer.

Version

Introduced in version August 2014