Search
 
SCRIPT & CODE EXAMPLE
 

PHP

phpexcel set font color

$this->PhpExcel->createSheet($page);
$this->PhpExcel->setActiveSheetIndex($page);
$sheet = $this->PhpExcel->getActiveSheet();

$sheet->getStyle("A8:C8")->getFont()->setBold(true)
->setName('Arial')
->setSize(14)
->getColor()
->setRGB('FFFFFF');
$sheet->getStyle("A8:C8")->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_CENTER);
Comment

PREVIOUS NEXT
Code Example
Php :: phpstorm php file header coment 
Php :: laravel debugbar 
Php :: laradock ext-ldap 
Php :: php header pdf open in browser 
Php :: php how to get am pm from a datetime 
Php :: php get youtube code from url 
Php :: ucfirst() php 
Php :: get term thumbnail 
Php :: number format comma php 
Php :: disable gutenberg editor wordpress functions.php 
Php :: install zip php extension 
Php :: laravel get file name 
Php :: php key in array exists 
Php :: ucwords in php 
Php :: laravel module create controller 
Php :: how to redirect with php 
Php :: wordpress enqueue style child theme 
Php :: get name of parent dir php 
Php :: webmin forgot password 
Php :: codeigniter 3 limit 
Php :: complete url php 
Php :: remove last letter php 
Php :: codeigniter get where 
Php :: wordpress featured image as a background image 
Php :: wp limit post revisions 
Php :: adding css to php file 
Php :: symfony clear cache 
Php :: date_default_timezone_set for india in php 
Php :: php check if session is running 
Php :: wordpress disable errors 
ADD CONTENT
Topic
Content
Source link
Name
2+6 =