public function PHPExcel_Style_Fill::setRotation in Loft Data Grids 7.2
Same name and namespace in other branches
- 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Style/Fill.php \PHPExcel_Style_Fill::setRotation()
* Set Rotation * *
Parameters
double $pValue: * @return PHPExcel_Style_Fill
1 call to PHPExcel_Style_Fill::setRotation()
- PHPExcel_Style_Fill::applyFromArray in vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Style/ Fill.php - * Apply styles from array * * <code> * $objPHPExcel->getActiveSheet()->getStyle('B2')->getFill()->applyFromArray( * array( * 'type' => PHPExcel_Style_Fill::FILL_GRADIENT_LINEAR, …
File
- vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Style/ Fill.php, line 235
Class
- PHPExcel_Style_Fill
- PHPExcel_Style_Fill
Code
public function setRotation($pValue = 0) {
if ($this->_isSupervisor) {
$styleArray = $this
->getStyleArray(array(
'rotation' => $pValue,
));
$this
->getActiveSheet()
->getStyle($this
->getSelectedCells())
->applyFromArray($styleArray);
}
else {
$this->_rotation = $pValue;
}
return $this;
}