ArcObjects Library Reference (Controls)  

IMapControl4.AutoMouseWheel Property

Indicates whether the mouse wheel is enabled.

[Visual Basic .NET]
Public Property AutoMouseWheel As Boolean
[C#]
public bool AutoMouseWheel {get; set;}
[C++]
HRESULT get_AutoMouseWheel(
  VARIANT_BOOL* Enabled
);
[C++]
HRESULT put_AutoMouseWheel(
  VARIANT_BOOL Enabled
);
[C++]

Parameters

Enabled [out, retval]   Enabled is a parameter of type VARIANT_BOOL Enabled [in]   Enabled is a parameter of type VARIANT_BOOL

Product Availability

Available with ArcGIS Engine.

Description

Determines whether the mouse wheel can be used to zoom in and zoom out of the control's display. This property is true by default.

See Also

IMapControl4 Interface