方法一:创建表格时设置 from docx import Document from docx.shared ... table.cell(0,0).width=Cm(10) #设置行高 table.rows[0].height=Cm(2) ...
確定! 回上一頁