Open alejandrohorcajo opened 4 years ago
Hello,
I have a problem with the EPPlus library. When taking an excel with image, when adding rows above it using .InsertRow(), the image does not change row. However, if I add a row directly using Excel, yes.
Any ideas?
Code:
worksheet.InsertRow(tableRowNum, 1);
worksheet.Cells[tableRowNum + 1, 1, tableRowNum + 1, tableCell.Column].Copy(worksheet.Cells[tableRowNum, 1, tableRowNum, tableCell.Column]);
What value is set for the "EditAs" property in your image in EPPlus?
Hello,
I have a problem with the EPPlus library. When taking an excel with image, when adding rows above it using .InsertRow(), the image does not change row. However, if I add a row directly using Excel, yes.
Any ideas?
Code:
worksheet.InsertRow(tableRowNum, 1);
worksheet.Cells[tableRowNum + 1, 1, tableRowNum + 1, tableCell.Column].Copy(worksheet.Cells[tableRowNum, 1, tableRowNum, tableCell.Column]);