This article explains how to replace an existing image in a worksheet in XlsIO using C#/VB.NET.
How to replace existing image?
Images are inserted in worksheet using the position in that worksheet. To replace an existing image but within the bounds of the old one, we need to use the size and position of the old image.
To replace the existing image using XlsIO, you need to follow the below steps.
Steps to replace existing image
The following screenshot shows the existing image in a worksheet.
The following C#/VB.NET complete code snippet shows the replacement of an existing image in a worksheet.
The following screenshot shows the output of the image in a worksheet after the existing image is replaced.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|