Reputation: 83
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!
Upvotes: 8
Views: 3327
Reputation: 28893
You would make this change, by hand, using the PowerPoint application, in the "template" presentation you were starting with.
The placeholder would be in one of the slide layouts (View > Master > Slide Master from the menu in my version), and would be "cloned" into any new slides created from that layout.
I don't believe the PowerPoint UI offers a way to actually change the type of an existing placeholder in a slide layout, so you'd need to remove any existing one, if present, and create a new one of the same size at the same position (or wherever and however big you want).
Upvotes: 3