You are here

public function PHPExcel_Writer_PDF_Core::setOrientation in Loft Data Grids 6.2

Same name and namespace in other branches
  1. 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Writer/PDF/Core.php \PHPExcel_Writer_PDF_Core::setOrientation()

Set Orientation

Parameters

string $pValue Page orientation: @return PHPExcel_Writer_PDF

1 call to PHPExcel_Writer_PDF_Core::setOrientation()
PHPExcel_Writer_PDF_mPDF::save in vendor/phpoffice/phpexcel/Classes/PHPExcel/Writer/PDF/mPDF.php
Save PHPExcel to file

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Writer/PDF/Core.php, line 289

Class

PHPExcel_Writer_PDF_Core
PHPExcel_Writer_PDF_Core

Code

public function setOrientation($pValue = PHPExcel_Worksheet_PageSetup::ORIENTATION_DEFAULT) {
  $this->_orientation = $pValue;
  return $this;
}