You are here

public function PHPExcel_Worksheet_RowDimension::setOutlineLevel in Loft Data Grids 7.2

Same name and namespace in other branches
  1. 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Worksheet/RowDimension.php \PHPExcel_Worksheet_RowDimension::setOutlineLevel()

Set Outline Level

Value must be between 0 and 7

Parameters

int $pValue:

Return value

PHPExcel_Worksheet_RowDimension

Throws

PHPExcel_Exception

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Worksheet/RowDimension.php, line 201

Class

PHPExcel_Worksheet_RowDimension
PHPExcel_Worksheet_RowDimension

Code

public function setOutlineLevel($pValue) {
  if ($pValue < 0 || $pValue > 7) {
    throw new PHPExcel_Exception("Outline level must range between 0 and 7.");
  }
  $this->_outlineLevel = $pValue;
  return $this;
}