public function PHPExcel_Worksheet_PageSetup::addPrintArea in Loft Data Grids 6.2
Same name and namespace in other branches
- 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Worksheet/PageSetup.php \PHPExcel_Worksheet_PageSetup::addPrintArea()
* Add a new print area (e.g. 'A1:D10' or 'A1:D10,G5:M20') to the list of print areas * *
Parameters
string $value: * @param int $index Identifier for a specific print area range allowing several ranges to be set * A positive index will insert after that indexed entry in the print areas list, while a * negative index will insert before the indexed entry. * Specifying an index value of 0, will always append the new print range at the end of the * list. * Print areas are numbered from 1 * @return PHPExcel_Worksheet_PageSetup * @throws PHPExcel_Exception
File
- vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Worksheet/ PageSetup.php, line 703
Class
- PHPExcel_Worksheet_PageSetup
- PHPExcel_Worksheet_PageSetup
Code
public function addPrintArea($value, $index = -1) {
return $this
->setPrintArea($value, $index, self::SETPRINTRANGE_INSERT);
}