Shapes Methods

Include Protected Members
Include Inherited Members

The Shapes type exposes the following members.

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