EvotecIT / OfficeIMO

Fast and easy to use cross-platform .NET library that creates or modifies Microsoft Word (DocX) and later also Excel (XLSX) files without installing any software. Library is based on Open XML SDK
MIT License
288 stars 50 forks source link

Table styles are not being applied #19

Closed SiL3NC3 closed 2 years ago

SiL3NC3 commented 2 years ago

Styles are not visible.

 document.Tables[0].Style = WordTableStyle.GridTable1LightAccent3;
 document.AddTable(4, 4, WordTableStyle.GridTable1LightAccent3);

Both ways are not working or don't seem to have any effect in my document. Possibly a bug?

PrzemyslawKlys commented 2 years ago

It could be I only add styles when I create new document, but not on load.