1 excel.Sheet.setZoom

Window zoom magnification for current view representing percent values. Valid values range from 10 to 400. Horizontal & Vertical scale together. For example:

Value Percent
10 10%
20 20%
100 100%
400 400%

<excel.Sheet.setZoom scale='scale'>
    <sh /> +
</excel.Sheet.setZoom>
Example
Copy
<xsql-script>
	<body>
		<set name='wb'>
		    <excel.Workbook />
		</set>
		
		<set name="sheet_1">
		    <excel.Workbook.createSheet name="Sheet 1">
		        <wb/>
		    </excel.Workbook.createSheet>
		</set>
		
		<set name="cell_r2c5">
		    <excel.Sheet.createCell row="5" col="5">
		        <sheet_1/>
		    </excel.Sheet.createCell>
		</set>
		
		<excel.Cell.setCellValue>
		    <cell_r2c5/>
		    <string>ZOON AL 250%</string>
		</excel.Cell.setCellValue>
		
		<excel.Sheet.setZoom scale='10'>
		     <sheet_1 />
		</excel.Sheet.setZoom>
		
		<excel.Workbook.write>
		    <wb/>
		    <file name="test.xls" type="absolute"/>
		</excel.Workbook.write>
	</body>
</xsql-script>