Search code examples
c#asp.netabcpdf

table border not showing in generated pdf from abcpdf


Why are all the borders or similar are missing? Such as table borders, hr tag, even form border is not working.

i am converting html context to pdf using abcpdf, and the html can be shown correctly on any browser with table borders, hr tag and so on.

i am using abcpdf7.


Solution

  • Time to close this discussion. The result is that abcpdf seems only recognize the style of any table elements in that Style attribute. And also, if you set the border = 1px, it will not be shown on the pdf, but border with a larger pixel would show, ex. border = 3px. This is how i solved my tricky problem after many trials.