The standard layouts for Powerpoint appear to have "Content" placeholders which appear as the type SlidePlaceholder. Is there a way to change these placeholders to another type? For example, I would really like to insert a picture into one of these placeholders, but SlidePlaceholder does not have an insert_picture method.
A previous question already addressed how to insert a picture, but the response mentioned:
You'll have to replace any "general purpose" content placeholder with one specific to what you're going to insert.
However, he didn't indicate how one would do this. And it isn't readily apparent from the documentation. Thanks for any help on this!
最后
以上就是粗暴红牛最近收集整理的关于python中changeplace_你能用python-pptx改变占位符类型吗?(Can you change the Placeholder type using python-pptx?)...的全部内容,更多相关python中changeplace_你能用python-pptx改变占位符类型吗?(Can内容请搜索靠谱客的其他文章。
发表评论 取消回复