简体   繁体   中英

Inserting image in to the excel cell using jxl api

I have to insert image in to the excel cell using jxl api
i have tried with some sample code but it will insert at some coordinator, but i want in to at particular cell index or inside cell.
here is sample code that i found while searching for this.

any one has solution for this.
Thanks in advanced.

From a discussion on channel9 :

No version of Excel allows you to insert a picture into a cell. Pictures are inserted into the worksheet and will always float. One of the properties of a picture can be set to "move and size with cells" but that only moves or stretches the picture when the underlying rows and columns are inserted, deleted or sized. It does not confine a picture to a cell.

Here is a step-by-step procedure on how to do it from Excel, maybe you can mime it programmatically.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM