javaasposeaspose.words

Hide the border for cell in table using Aspose java


We have inserted the page numbers and footer text in the Footer using table but we want to hide the cell border for the table.

enter link description here


Solution

  • You should simply set line style of the cell borders to none:

    builder.getCellFormat().getBorders().setLineStyle(LineStyle.NONE);
    

    In this case borders will not be visible.