We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
前面连接代码省略,以下是我在指定段落添加图片的代码(parag是我获取的指定段落的Range):
img = parag.InlineShapes.AddPicture(img_path) img.Width = width img.Height = height
The text was updated successfully, but these errors were encountered:
默认返回的是tuple,第一个是HRESULT
Sorry, something went wrong.
可以包装一下去掉这个,参考https://github.com/timxx/pywpsrpc/wiki/RpcProxy
谢谢大佬,通过这个方式解决了
timxx
No branches or pull requests
前面连接代码省略,以下是我在指定段落添加图片的代码(parag是我获取的指定段落的Range):
img = parag.InlineShapes.AddPicture(img_path)
img.Width = width
img.Height = height
The text was updated successfully, but these errors were encountered: