Hi,
1. I added some traffic light symbols into the sheet:
if (data.Columns[j].ColumnName.Contains("Ampeln."))
{
IPictureShape pic = sheet.Pictures.AddPicture(row, column, AppGlobal.ImagesDirAbs + "Status" + data.Rows[i][j].ToString() + ".gif",100,100);
pic.Left += (int)Math.Round(sheet.Range[row, column].ColumnWidth * 3);
}
2. I filled the column Y with a text and set:
sheet.Range["Y" + rowStart.ToString() + ":Y" + rowEnde.ToString()].WrapText = true;
Using WrapText deforms my traffic light symbols (see attachment)
How can I avoid the deforming of the images?
Thanks for your answer.
Martin
wraptext_40ff0211.zip