I have an application that uses docx to put pictures in a table. Everything works fine except that the table goes from the left margin to the right margin.
If I manually create a table in Word, I can right click the table to get to "Table Properties". Then under the "Table" tab, in "Size", I can click the "Preferred width" check box and set the width to any size you want. Since the Paragraph is set to center, the table is centered between the margins but does not extend to the margins.
I can't seem find a similar mechanism in docx. Is there one? Or is there another way to accomplish the same thing?