You are here

public function PHPExcel_Worksheet_HeaderFooter::addImage in Loft Data Grids 6.2

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

Add header/footer image

Parameters

PHPExcel_Worksheet_HeaderFooterDrawing $image:

string $location:

Return value

PHPExcel_Worksheet_HeaderFooter

Throws

PHPExcel_Exception

File

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

Class

PHPExcel_Worksheet_HeaderFooter
PHPExcel_Worksheet_HeaderFooter

Code

public function addImage(PHPExcel_Worksheet_HeaderFooterDrawing $image = null, $location = self::IMAGE_HEADER_LEFT) {
  $this->_headerFooterImages[$location] = $image;
  return $this;
}