Shape Interface

Office 2010

Represents an object in the drawing layer, such as an AutoShape, freeform, OLE object, or picture.

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

[GuidAttribute("91493479-5A91-11CF-8700-00AA0060263B")]
public interface Shape

There are three objects that represent shapes: the Shapes collection, which represents all the shapes on a document; the ShapeRange collection, which represents a specified subset of the shapes on a document (for example, a ShapeRange object could represent shapes one and four on the document, or it could represent all the selected shapes on the document); the Shape object, which represents a single shape on a document. If you want to work with several shapes at the same time or with shapes within the selection, use a ShapeRange collection

Show:
© 2015 Microsoft