Is it possible to vertically align text so it is vertically centered in a table cell?
from docx.enum.table import WD_ALIGN_VERTICAL
table = document.add_table(3, 3)
table.cell(0, 0).vertical_alignment = WD_ALIGN_VERTICAL.BOTTOM
https://python-docx.readthedocs.io/en/latest/api/enum/WdCellVerticalAlignment.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With