Shapes Methods
Include Protected Members
Include Inherited Members
The Shapes type exposes the following members.
Methods
Name | Description | |
---|---|---|
AddCallout | Creates a borderless line callout. Returns a Shape object that represents the new callout. | |
AddCanvas | Reserved for internal use. | |
AddChart | Adds a chart to a presentation. | |
AddComment | Adds a comment. Returns a Shape object that represents the new comment. | |
AddConnector | Creates a connector. Returns a Shape object that represents the new connector. When a connector is added, it is not connected to anything. Use the BeginConnect and EndConnect methods to attach the beginning and end of a connector to other shapes in the document. | |
AddCurve | Creates a Bézier curve. Returns a Shape object that represents the new curve. | |
AddDiagram | Reserved for internal use. | |
AddLabel | Creates a label. Returns a Shape object that represents the new label. | |
AddLine | Creates a line. Returns a Shape object that represents the new line. | |
AddMediaObject | Creates a media object. Returns a Shape object that represents the new media object. | |
AddMediaObject2 | Adds a new media object. | |
AddMediaObjectFromEmbedTag | Adds a media object from an embedded tag to a Shapes object. | |
AddOLEObject | Creates an OLE object. Returns a Shape object that represents the new OLE object. | |
AddPicture | Creates a picture from an existing file. Returns a Shape object that represents the new picture. | |
AddPlaceholder | Restores a previously deleted placeholder on a slide. Returns a Shape object that represents the restored placeholder. | |
AddPolyline | Creates an open polyline or a closed polygon drawing. Returns a Shape object that represents the new polyline or polygon. | |
AddShape | Creates an AutoShape. Returns a Shape object that represents the new AutoShape. | |
AddSmartArt | Adds a SmartArt diagram to the Shapes object. | |
AddTable | Adds a table shape to a slide. | |
AddTextbox | Creates a text box. Returns a Shape object that represents the new text box. | |
AddTextEffect | Creates a WordArt object. Returns a Shape object that represents the new WordArt object. | |
AddTitle | Restores a previously deleted title placeholder to a slide. Returns a Shape object that represents the restored title. | |
BuildFreeform | Builds a freeform object. Returns a FreeformBuilder object that represents the freeform as it is being built. | |
GetEnumerator() | (Inherited from IEnumerable.) | |
GetEnumerator() | Returns an enumerator that iterates through the collection of Shape objects. | |
Paste | Pastes the shapes, slides, or text on the Clipboard into the specified Shapes collection, at the top of the z-order. Each pasted object becomes a member of the specified Shapes collection. If the Clipboard contains entire slides, the slides will be pasted as shapes that contain the images of the slides. If the Clipboard contains a text range, the text will be pasted into a newly created TextFrame shape. Returns a ShapeRange object that represents the pasted objects. | |
PasteSpecial | Pastes the contents of the Clipboard, using a special format. | |
Range | Returns a ShapeRange object that represents a subset of the shapes in a Shapes collection. | |
SelectAll | Selects all shapes (in a Shapes collection) or all diagram nodes (in a DiagramNode or DiagramNodeChildren collection). |
Top