SpreadJS Documentation
zoom Method
GC.Spread.Sheets Namespace > Worksheet type : zoom Method
The zoom factor.

Syntax
var instance = new GC.Spread.Sheets.Worksheet(name);
var value; // Type: any
value = instance.zoom(factor);
function zoom( 
   factor : number
) : any;

Parameters

factor
The zoom factor.

Return Value

If no value is set, returns the zoom factor; otherwise, returns the worksheet.
Example
This example zooms the sheet.
spread.options.allowUserZoom = false;
sheet.zoom(3);
Remarks
The default value is 1.
See Also

Reference

Worksheet type
Allowing Zooming