I am trying to use a ClosedXML.Excel XLWorkbook dll to export Excel, but when trying to use an image, I get the following error:
Cannot convert Closedxml.excel.IXLAddress to Closedxml.excel.IXLCell:
var image = WS.AddPicture(imagePath)
.MoveTo(WS.Cell("A1").Address)
.Scale(1.0); // optional: resize picture
I do not know if something is missing to install, some version that is not compatible or I don't know what it can be, of course, thanks for your attention.