我是靠谱客的博主 粗暴红牛,最近开发中收集的这篇文章主要介绍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 you change the Placeholder type using python-pptx?)...所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

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

评论列表共有 0 条评论

立即
投稿
返回
顶部