You are here

public function PHPExcel_Worksheet_PageSetup::setHorizontalCentered in Loft Data Grids 7.2

Same name and namespace in other branches
  1. 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Worksheet/PageSetup.php \PHPExcel_Worksheet_PageSetup::setHorizontalCentered()

* Set center page horizontally * *

Parameters

bool $value: * @return PHPExcel_Worksheet_PageSetup

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Worksheet/PageSetup.php, line 539

Class

PHPExcel_Worksheet_PageSetup
PHPExcel_Worksheet_PageSetup

Code

public function setHorizontalCentered($value = false) {
  $this->_horizontalCentered = $value;
  return $this;
}