question

TZacks-2728 avatar image
0 Votes"
TZacks-2728 asked cooldadtx answered

EPPlus how to set default cell border colour

See my picture and there is a cell A3 which has no top border. when i set top border but still getting no border. so curious to know how to set top border with default color.

126756-wsaa.png

 ws.Cells["A3"].Style.Border.Top.Style = ExcelBorderStyle.Thin;
 ws.Cells["A3"].Style.Border.Bottom.Color.SetColor(System.Drawing.Color.Transparent);

here i set Color.Transparent. i like to know what i need to set default border colour ?

I have to set default border colour for top border for A3 cell. please suggest me something.

Thanks


dotnet-csharp
wsaa.png (34.6 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

cooldadtx avatar image
0 Votes"
cooldadtx answered

This question is really related to a third party library and not MS products or C#. I think you should post it in Github where the owners of the software can respond.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.