Wiki

Clone wiki

Aspose for Apache POI / Zoom-Factor

Apache POI SS

Sheet sheet1 = wb.createSheet("new sheet");
sheet1.setZoom(3,4);   // 75 percent magnification

Aspose.Cells

Worksheet worksheet = worksheets.get(0);

//Setting the zoom factor of the worksheet to 75     
worksheet.setZoom(75);

Download Source Code

Updated