Skip to main content linkedinfacebooktwittermenuarrow-up

Regarding embedding image into the cell of excel - Community / GemBox.Spreadsheet Feature Request - GemBox Support Center

0

Regarding embedding image into the cell of excel New

Hi,
I am working on a requirement where I need to embed an image directly into a cell when exporting to Excel using GemBox.Spreadsheet. The desired behavior is as follows:

The image should be placed inside a cell and should automatically resize when the cell is resized.

The image should remain anchored to the cell, i.e., it should not move or shift position if there are changes in the Excel sheet.

The image should be locked, preventing users from modifying or moving it manually.

Essentially, we aim to replicate Excel’s Insert → Picture → Place in Cell feature programmatically using GemBox.Spreadsheet.

We have made partial progress using the attached code—we’re able to resize the image based on the cell size. However, the image remains editable and is not fully locked to the cell.

Could you please advise how we can achieve the complete functionality, particularly the locking and anchoring behavior?

Thank you!

Best regards,
Sarita

Attachments