GcSpread.Sheets Namespace > Spread type : allowUserZoom Method |
var instance = new GcSpread.Sheets.Spread(host, options); var returnValue; // Type: Object returnValue = instance.allowUserZoom(value);
function allowUserZoom( value : boolean ) : Object;
true
if the user can zoom the display by scrolling the mouse wheel while pressing the Ctrl key; otherwise, false
.spread.allowUserZoom = false;
sheet.zoom(3);
spread.allowUserZoom = false;
sheet.zoom(3);