我是靠谱客的博主 粗暴红牛,这篇文章主要介绍python中changeplace_你能用python-pptx改变占位符类型吗?(Can you change the Placeholder type using python-pptx?)...,现在分享给大家,希望可以做个参考。

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内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(62)

评论列表共有 0 条评论

立即
投稿
返回
顶部