Hi,
I have copied the style from one cell into a new style object, saved it in a collection and applied it to another cell using the collection, this worked with v4.4.1, i have upgraded to v4.4.2 where Hyperlinks at pictures work, but the code for copying styles don't work:
string stName = "rHd" + risk.ToString();
//Copy Style of current Cell to add Property Underline
//Changing the current Style will affect other Cells!!!
//Maybe the use of flags will work
if (!ExcelStyles.ContainsKey(stName))
{
styleNumber = wb.Styles.Add();
newStyle = wb.Styles[styleNumber];
newStyle.Copy(cells[rowCnt, z].Style);
newStyle.Name = stName;
newStyle.Font.Underline = FontUnderlineType.Single;
ExcelStyles.Add(newStyle.Name, newStyle);
}
cells[rowCnt, z].Style = ExcelStyles[stName];