array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'tr', ), 'this' => array ( 0 => 'vtiful-kernel-format.underline.php', 1 => 'Vtiful\\Kernel\\Format::underline', ), 'up' => array ( 0 => 'class.vtiful-kernel-format.php', 1 => 'Vtiful\\Kernel\\Format', ), 'prev' => array ( 0 => 'vtiful-kernel-format.italic.php', 1 => 'Vtiful\\Kernel\\Format::italic', ), 'next' => array ( 0 => 'refs.fileprocess.process.php', 1 => 'Süreç Denetim Eklentileri', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/xlswriter/xlsx-format/underline.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL xlswriter >= 1.2.1)
Vtiful\Kernel\Format::underline — Vtiful\Kernel\Format underline
Vtiful\Kernel\Format underline format
handle
xlsx file handle
style
Vtiful\Kernel\Format constant
Resource
Örnek 1 example
<?php
$config = [
'path' => './tests'
];
$excel = new \Vtiful\Kernel\Excel($config);
$fileObject = $excel->fileName('tutorial01.xlsx');
$fileHandle = $fileObject->getHandle();
$underlineStyle = \Vtiful\Kernel\Format::underline($fileHandle, \Vtiful\Kernel\Format::UNDERLINE_SINGLE);
$fileObject->header(['name', 'age'])
->data([['viest', 21]])
->setColumn('A:A', 200, $underlineStyle)
->output();
?>