<< xls_SetFont xls_link xls_SetSave >>

xls_link >> xls_link > xls_SetPic

xls_SetPic

Add picture to a cell.

Calling Sequence

xls_SetPic(pictureName [, x, y, w, h])

Parameters

pictureName

Path to the picture.

x, y, w, h

position of the picture.

Description

Add picture to a cell.

Example

xls_NewExcel();
xls_AddWorkbook();
xls_SetVisible(%t);

//create a picture
scf(0);
plot2d();
xs2bmp(0, TMPDIR + '/foo.bmp');
close();

xls_SetPic(TMPDIR + '/foo.bmp', [10 10 200 200]);

xls_SetSave(%t);
xls_Close();
xls_Quit();

Report an issue
<< xls_SetFont xls_link xls_SetSave >>