Daniel - 2010-02-18 01:06:58
Fristly, this is a very good class and I was very fortunate to come across it! Thank you for developing it!!!
I am using it to create a multi row, 2 column table and would like to know how to set the width of the columns.
My code is like:
$aligns = array('left', 'right');
$valigns = array('middle', 'middle');
$doc->startTable(array('width' => '100%'), 'tableWithoutBorder');
$cols = array();
$cols[0] = $TransInvCommCom;
$cols[1] = $TransInvCommTotVal;
$doc->addTableRow($cols, $aligns, $valigns);
unset($cols);
I would need to set $cols[0]=5.20". How can this be done?
Thank you so much for your help!