You are here

public function PHPExcel_Worksheet_HeaderFooter::removeImage in Loft Data Grids 7.2

Same name and namespace in other branches
  1. 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Worksheet/HeaderFooter.php \PHPExcel_Worksheet_HeaderFooter::removeImage()

Remove header/footer image

Parameters

string $location:

Return value

PHPExcel_Worksheet_HeaderFooter

Throws

PHPExcel_Exception

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Worksheet/HeaderFooter.php, line 410

Class

PHPExcel_Worksheet_HeaderFooter
PHPExcel_Worksheet_HeaderFooter

Code

public function removeImage($location = self::IMAGE_HEADER_LEFT) {
  if (isset($this->_headerFooterImages[$location])) {
    unset($this->_headerFooterImages[$location]);
  }
  return $this;
}