Shapes Interface
TOC
Collapse the table of content
Expand the table of content
This documentation is archived and is not being maintained.

Shapes Interface

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

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

[GuidAttribute("0002443A-0000-0000-C000-000000000046")]
[InterfaceTypeAttribute()]
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 you want to work with.

Show:
© 2016 Microsoft