Share via


Shapes Members

Include Protected Members
Include Inherited Members

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

The Shapes type exposes the following members.

Properties

  Name Description
Public property Application Returns an Application object that represents the Microsoft Excel application.
Public property Count Returns the number of objects in the collection.
Public property Creator Returns a 32-bit integer that indicates the application in which this object was created.
Public property Parent Returns the parent object for the specified object.
Public property Range Returns a ShapeRange object that represents a subset of the shapes in a Shapes collection.

Top

Methods

  Name Description
Public method _Default Reserved for internal use.
Public method AddCallout Creates a borderless line callout. Returns a Shape object that represents the new callout.
Public method AddCanvas Reserved for internal use.
Public method AddChart Creates a chart at the specified location on the active sheet.
Public method AddConnector Creates a connector. Returns a Shape object that represents the new connector.
Public method AddCurve Returns a Shape object that represents a Bézier curve in a worksheet.
Public method AddDiagram Creates a diagram. Returns a Shape object that represents the new diagram.
Public method AddFormControl Creates a Microsoft Excel control. Returns a Shape object that represents the new control.
Public method AddLabel Creates a label. Returns a Shape object that represents the new label.
Public method AddLine Returns a Shape object that represents the new line in a worksheet.
Public method AddOLEObject Creates an OLE object. Returns a Shape object that represents the new OLE object.
Public method AddPicture Creates a picture from an existing file. Returns a Shape object that represents the new picture.
Public method AddPolyline Creates an open polyline or a closed polygon drawing. Returns a Shape object that represents the new polyline or polygon.
Public method AddShape Returns a Shape object that represents the new AutoShape in a worksheet.
Public method AddSmartArt Creates a new SmartArt graphic with the specified layout.
Public method AddTextbox Creates a text box. Returns a Shape object that represents the new text box.
Public method AddTextEffect Creates a WordArt object. Returns a Shape object that represents the new WordArt object.
Public method BuildFreeform Builds a freeform object. Returns a FreeformBuilder object that represents the freeform as it is being built.
Public method GetEnumerator() (Inherited from IEnumerable.)
Public method GetEnumerator()
Public method Item Returns a single object from a collection.
Public method SelectAll Selects all the shapes in the specified Shapes collection.

Top

See Also

Reference

Shapes Interface

Microsoft.Office.Interop.Excel Namespace