|
|
WheelDrag handler.
Namespace: Autodesk.Navisworks.Api.Plugins
Assembly: Autodesk.Navisworks.Api (in Autodesk.Navisworks.Api.dll)
Syntax
| Visual Basic |
|---|
Public Overridable Function WheelDrag ( _ view As View, _ modifier As KeyModifiers, _ x As Integer, _ y As Integer, _ wheel As UShort, _ len As Double, _ timeOffset As Double _ ) As Boolean |
| C# |
|---|
public virtual bool WheelDrag( View view, KeyModifiers modifier, int x, int y, ushort wheel, double len, double timeOffset ) |
| Visual C++ |
|---|
public: virtual bool WheelDrag( View^ view, KeyModifiers modifier, int x, int y, unsigned short wheel, double len, double timeOffset ) |
Parameters
- view
- Type: Autodesk.Navisworks.Api..::..View
- modifier
- Type: Autodesk.Navisworks.Api..::..KeyModifiers
- x
- Type: System..::..Int32
- y
- Type: System..::..Int32
- wheel
- Type: System..::..UInt16
- len
- Type: System..::..Double
- timeOffset
- Type: System..::..Double
Remarks
Called when wheel events are received. len = 1 corresponds to 360 degree turn of wheel.