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)

[GuidAttribute("91493475-5A91-11CF-8700-00AA0060263B")]
public interface Shapes : IEnumerable

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)

Community Additions

ADD
Show:
© 2014 Microsoft