public function PHPExcel_Worksheet_SheetView::setZoomScaleNormal in Loft Data Grids 6.2
Same name and namespace in other branches
- 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Worksheet/SheetView.php \PHPExcel_Worksheet_SheetView::setZoomScaleNormal()
* Set ZoomScale * * Valid values range from 10 to 400. * *
Parameters
int $pValue: * @throws PHPExcel_Exception * @return PHPExcel_Worksheet_SheetView
File
- vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Worksheet/ SheetView.php, line 131
Class
- PHPExcel_Worksheet_SheetView
- PHPExcel_Worksheet_SheetView
Code
public function setZoomScaleNormal($pValue = 100) {
if ($pValue >= 1 || is_null($pValue)) {
$this->_zoomScaleNormal = $pValue;
}
else {
throw new PHPExcel_Exception("Scale must be greater than or equal to 1.");
}
return $this;
}