This example shows how to set top border for a table.
TextTables tables = document.getTables(); TextTable table = tables.item(2); Border border = table.borders(Constant.SYMPHONY_BORDER_TOP); border.setBorder(true); border.setColor(application.RGB(255, 0, 0)); border.setInnerLineWidth(110); border.setOuterLineWidth(110); border.setInnerOuterDistance(100);
Related information