Forum


Replies: 1   Views: 3263
Table size and font
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by kpholland  · 03-12-2013 - 16:41

We have made a table in phpdocx and now a want to set the font size to the table. I have tryed everything but the font from the table doesn't change...

ps. Does anybody know what the differents is between sz and border sz


$paramsTable = array(
'TBLWtype' => 'left',
'border' => 'single',
'border_sz' => 6,
'border_spacing' => 0,
'border_color' => '000000',
// 'jc' => 'center',
'sz' => 6,
'textWrap' => 1,
// 'borderDiscontinuous' => 1,
// 'pagerAlignment' => 'left',
'size_col' => $widthTableCols
);

$docx->addTable($tableKOP,$paramsTable);