Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Placeholders Interface

Office 2010

A collection of all the Shape objects that represent placeholders on the specified slide.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

public interface Placeholders : Collection

Each Shape object in the Placeholders collection represents a placeholder for text, a chart, a table, an organizational chart, or some other type of object. If the slide has a title, the title is the first placeholder in the collection.

You can delete individual placeholders by using the Delete(Int32) method, and you can restore deleted placeholders by using the AddPlaceholder(PpPlaceholderType, Single, Single, Single, Single) method, but you cannot add any more placeholders to a slide than it had when it was created. To change the number of placeholders on a given slide, set the Layout property.

© 2015 Microsoft