You are here

public function PHPExcel_Worksheet_PageSetup::setFitToHeight 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::setFitToHeight()

* Set Fit To Height * *

Parameters

int? $pValue: * @param boolean $pUpdate Update fitToPage so it applies rather than scaling * @return PHPExcel_Worksheet_PageSetup

File

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

Class

PHPExcel_Worksheet_PageSetup
PHPExcel_Worksheet_PageSetup

Code

public function setFitToHeight($pValue = 1, $pUpdate = TRUE) {
  $this->_fitToHeight = $pValue;
  if ($pUpdate) {
    $this->_fitToPage = TRUE;
  }
  return $this;
}