alignment vertical-top does not work

Topics: User Forum
Mar 14, 2010 at 3:08 PM
Edited Mar 14, 2010 at 5:43 PM


I tried each:

$objPHPExcel->getActiveSheet()->getStyleByColumnAndRow($col, $row)->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::VERTICAL_TOP);

but I cannot see the desired effect with the excel file output. it does not work with HTML output as well but it is OK with PDF output.



Mar 16, 2010 at 12:40 AM
$objPHPExcel->getActiveSheet()->getStyleByColumnAndRow($col, $row)->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_TOP);