Shapes Interface

Office 2010

A collection of all the Shape objects on the specified slide.

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

No code example is currently available or this language may not be supported.

Each Shape object represents an object in the drawing layer, such as an AutoShape, freeform, OLE object, or picture.

NoteNote

If you want to work with a subset of the shapes on a document — for example, to do something to only the AutoShapes on the document or to only the selected shapes — you must construct a ShapeRange collection that contains the shapes that you want to work with. For an overview of how to work either with a single shape or with more than one shape at a time, see How to: Work with Shapes (Drawing Objects)

Show: