我正在使用python创建(.docx)文件,我想插入内联图像,但它需要垂直对齐,以便在段落内看起来更好 我正在使用python中的docx包,我正在使用
document = Document()
paragraph = document.add_paragraph(''' This is test paragaph''')
run = paragraph.add_run()
run.add_picture('test.png')
paragraph.add_run(''' after the image''')
document.save('addImage.docx')
目前没有回答
相关问题 更多 >
编程相关推荐