public static function PHPExcel_Settings::setPdfRendererName in Loft Data Grids 6.2
Same name and namespace in other branches
- 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Settings.php \PHPExcel_Settings::setPdfRendererName()
Identify to PHPExcel the external library to use for rendering PDF files
Parameters
string $libraryName Internal reference name of the library: e.g. PHPExcel_Settings::PDF_RENDERER_TCPDF, PHPExcel_Settings::PDF_RENDERER_DOMPDF or PHPExcel_Settings::PDF_RENDERER_MPDF
Return value
boolean Success or failure
1 call to PHPExcel_Settings::setPdfRendererName()
- 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 305
Class
Code
public static function setPdfRendererName($libraryName) {
if (!in_array($libraryName, self::$_pdfRenderers)) {
return FALSE;
}
self::$_pdfRendererName = $libraryName;
return TRUE;
}