setMouseScrollZoomEnabled

static boolean setMouseScrollZoomEnabled(boolean enable)

Sets the option for allowing viewport zooming using the mouse wheel.

Return

True if the option was successfully set; false if it was not for some unknown reason.

Parameters

enable

True to enable the mouse wheel to zoom in/out; false to disable.