0

I want to change my table border color, I am using iTextsharp library for generating pdf file.

productsTable.DefaultCell.BorderColor= new CMYKColor(0f,0f,100f,0f);

When I use this line the border color not change.

So please anybody help that how to change my iTextsharp table border color?

Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129
Azhar
  • 31
  • 2
  • 3

1 Answers1

0

add in ExportPDf function this code -

ProcuctsTable.Style.Add(\\add style here );
Black Cloud
  • 471
  • 1
  • 3
  • 14