Center a table in a text document using interop.word in C #

I use interop.word in C # and I want to center the table in the document, all rows are centered, but I need the whole table to be centered in my document. I just can't find the property to center the whole table in a document. I already focused all the rows, but I need the table to be centered in my document.

+4
source share
1 answer

Have you tried table.Rows.Alignment = Word.WdRowAlignment.wdAlignRowCenter ?

+8
source

Source: https://habr.com/ru/post/1347288/


All Articles