public static function PHPExcel_Settings::setPdfRendererPath in Loft Data Grids 7.2
Same name and namespace in other branches
- 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Settings.php \PHPExcel_Settings::setPdfRendererPath()
Tell PHPExcel where to find the external library to use for rendering PDF files
Parameters
string $libraryBaseDir Directory path to the library's base folder:
Return value
boolean Success or failure
1 call to PHPExcel_Settings::setPdfRendererPath()
- PHPExcel_Settings::setPdfRenderer in vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Settings.php - Set details of the external library that PHPExcel should use for rendering PDF files
File
- vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Settings.php, line 323
Class
Code
public static function setPdfRendererPath($libraryBaseDir) {
if (file_exists($libraryBaseDir) === false || is_readable($libraryBaseDir) === false) {
return FALSE;
}
self::$_pdfRendererPath = $libraryBaseDir;
return TRUE;
}