Compartilhar via


Shape Interface

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)

Syntax

'Declaration
<GuidAttribute("91493479-5A91-11CF-8700-00AA0060263B")> _
Public Interface Shape
'Usage
Dim instance As Shape
[GuidAttribute("91493479-5A91-11CF-8700-00AA0060263B")]
public interface Shape

Remarks

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

See Also

Reference

Shape Members

Microsoft.Office.Interop.PowerPoint Namespace