Hi there,
great Library so far.
I just upgraded to the latest version because of the alignment-bug (vertical-align top results in center). But now I have another Problem setting the background color of some cells.
The Code:
```
short palIndex = palette.FindSimilarColor(color.R, color.G, color.B).GetIndex();
menuCellStyle.FillForegroundColor = palIndex;
```
I get the following errormessage:
Error 1 'NPOI.HSSF.Util.HSSFColor' does not contain a definition for 'GetIndex' and no extension method 'GetIndex' accepting a first argument of type 'NPOI.HSSF.Util.HSSFColor' could be found (are you missing a using directive or an assembly reference?) ...\WriteToExcel.cs 80 66 apetito.MenuPlanner.Utils
I updated the assembly via nuget. Any help here? I searched the documentation and googled, but didn't find a solution or a hint so far.
Best regards,
Dominik
Comments: ** Comment from web user: Pinguwien **
great Library so far.
I just upgraded to the latest version because of the alignment-bug (vertical-align top results in center). But now I have another Problem setting the background color of some cells.
The Code:
```
short palIndex = palette.FindSimilarColor(color.R, color.G, color.B).GetIndex();
menuCellStyle.FillForegroundColor = palIndex;
```
I get the following errormessage:
Error 1 'NPOI.HSSF.Util.HSSFColor' does not contain a definition for 'GetIndex' and no extension method 'GetIndex' accepting a first argument of type 'NPOI.HSSF.Util.HSSFColor' could be found (are you missing a using directive or an assembly reference?) ...\WriteToExcel.cs 80 66 apetito.MenuPlanner.Utils
I updated the assembly via nuget. Any help here? I searched the documentation and googled, but didn't find a solution or a hint so far.
Best regards,
Dominik
Comments: ** Comment from web user: Pinguwien **
Ah, just got it... it's "Indexed" now. Sorry for the inconvenience, I'Ve been blind :-)