You are here

public function PHPExcel_Worksheet_ColumnDimension::setOutlineLevel in Loft Data Grids 6.2

Same name and namespace in other branches
  1. 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Worksheet/ColumnDimension.php \PHPExcel_Worksheet_ColumnDimension::setOutlineLevel()

Set Outline Level

Value must be between 0 and 7

Parameters

int $pValue:

Return value

PHPExcel_Worksheet_ColumnDimension

Throws

PHPExcel_Exception

File

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

Class

PHPExcel_Worksheet_ColumnDimension
PHPExcel_Worksheet_ColumnDimension

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;
}