Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想删除特定表格单元格中的边框,所以我将边框宽度设置为 0,如下面的代码所示
cell.Borders = new PdfFlowContentBorders(new PdfPen(PdfRgbColor.Black, 0));
我希望这些边框会消失,但我却得到了黑色的细边框。
这是将边框颜色设置为白色时得到的结果
如果您不想绘制边框,则必须将边框设置为 null。
免责声明:我为开发 XFINIUM.PDF 库的公司工作。