Hello,
I’m trying to fit images to the width of a cell. Currently, I’m using the following code:
C#
foreach (Shape s in doc.GetChildNodes(NodeType.Shape, true))
{
s.AspectRatioLocked = true;
s.Width = 100; // This …...// Assuming 'doc' is your Workbook and 'sheet' is the target..."e:\\test2\\outTest1.xlsx"; Workbook workbook = new Workbook(); WorksheetCollection...