How to set the style for an entire column in EPPlus?

后端 未结 2 1660
故里飘歌
故里飘歌 2021-01-17 12:40

Is it possible to set the style for an entire column in EPPlus? I would expect that I could just use the Column method, but when I do I get strange results:

2条回答
  •  旧巷少年郎
    2021-01-17 13:02

     int indexOfColumn = ...;
     worksheet.Column(indexOfColumn).Style.Font.Color.SetColor(Color.Red);
    

提交回复
热议问题