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(2, 2);
table
.getCell(1, 1)
.addParagraph(new Paragraph("This text should be in the middle of the cell"))
.Properties.setVerticalAlign(VerticalAlign.CENTER);
.setVerticalAlign(VerticalAlign.CENTER);
table
.getCell(1, 0)