require_once "Spreadsheet/Excel/Writer.php";
void Worksheet::insertBitmap (integer $row, integer $col, string $bitmap [, integer $x=0 [, integer $y=0 [, integer $scale_x=1 [, integer $scale_y=1]]]])
void Worksheet::insertBitmap
Insert a 24bit bitmap image in a worksheet. The main record required is IMDATA but it must be proceeded by a OBJ record to define its position.
integer $row - The row we are going to insert the bitmap into
integer $col - The column we are going to insert the bitmap into
string $bitmap - The bitmap filename
integer $x - The horizontal position (offset) of the image inside the cell.
integer $y - The vertical position (offset) of the image inside the cell.
integer $scale_x - The horizontal scale
integer $scale_y - The vertical scale
This function can not be called statically.
Example 37-1. Using insertBitmap()