Excel and insertBitmap

From: Date: Tue, 13 Apr 2004 15:41:20 +0000
Subject: Excel and insertBitmap
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-11825@lists.php.net to get a copy of this message
Hi! I want to insert a bitmap into Excel and set the height of the row. But when I do that the image is not in shape any more. Is there a way to resize the row without any effect on the bitmap? An example: require_once 'Spreadsheet/Excel/Writer.php'; $workbook = new Spreadsheet_Excel_Writer(); $workbook->send('test.xls'); $worksheet =& $workbook->addWorksheet('Teilnehmerliste'); $worksheet->insertBitmap(0,0,'images/abitmap.bmp'); $worksheet->setRow(0,48); $workbook->close(); The existance of the line "$worksheet->setRow(0,48);" makes the image look higher or normal. The problem is, that the image is always a bit higher than the cells ... I will hand this in as an error-report ... But - is there a workaround? regards Daniel

« previous php.pear.general (#11825) next »