Add more changes to table API and documentation

This commit is contained in:
Dolan Miu
2018-12-31 01:55:15 +00:00
parent ab07f2ecbe
commit b9465b2a20
5 changed files with 36 additions and 15 deletions

View File

@ -9,7 +9,7 @@ const table = doc.createTable(4, 4);
table
.getCell(2, 2)
.addParagraph(new Paragraph("Hello"))
.Properties.Borders.addTopBorder(BorderStyle.DASH_DOT_STROKED, 3, "red")
.Borders.addTopBorder(BorderStyle.DASH_DOT_STROKED, 3, "red")
.addBottomBorder(BorderStyle.DOUBLE, 3, "blue")
.addStartBorder(BorderStyle.DOT_DOT_DASH, 3, "green")
.addEndBorder(BorderStyle.DOT_DOT_DASH, 3, "#ff8000");