Share via


CanvasShapes Members

Include Protected Members
Include Inherited Members

A collection of all the CanvasShapes objects on the specified slide.

The CanvasShapes type exposes the following members.

Properties

  Name Description
Public property Application Returns an Application object that represents the creator of the specified object.
Public property Background
Public property Count Returns the number of objects in the specified collection. Read-only.
Public property Creator Returns a Long that represents the four-character creator code for the application in which the specified object was created. For example, if the object was created in Microsoft Office PowerPoint, this property returns the hexadecimal number 50575054. Read-only.
Public property Item Returns a single Shape object from the specified Shapes collection.
Public property Parent Returns the parent object for the specified object.

Top

Methods

  Name Description
Public method AddCallout Creates a borderless line callout. Returns a CanvasShapes object that represents the new callout.
Public method AddConnector Creates a connector. Returns a CanvasShapes object that represents the new connector. When a connector is added, it is not connected to anything. Use the BeginConnect(Shape, Int32) and EndConnect(Shape, Int32) methods to attach the beginning and end of a connector to other shapes in the document.
Public method AddCurve Creates a Bézier curve. Returns a CanvasShapes object that represents the new curve.
Public method AddLabel Creates a label. Returns a CanvasShapes object that represents the new label.
Public method AddLine Creates a line. Returns a CanvasShapes object that represents the new line.
Public method AddPicture Creates a picture from an existing file. Returns a CanvasShapes object that represents the new picture.
Public method AddPolyline Creates an open polyline or a closed polygon drawing. Returns a CanvasShapes object that represents the new polyline or polygon.
Public method AddShape Creates an AutoShape. Returns a CanvasShapes object that represents the new AutoShape.
Public method AddTextbox Creates a text box. Returns a CanvasShapes object that represents the new text box.
Public method AddTextEffect Creates a WordArt object. Returns a CanvasShapes 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 Range Returns a ShapeRange object that represents a subset of the shapes in a CanvasShapes collection.
Public method SelectAll Selects all shapes (in a CanvasShapes collection) or all diagram nodes (in a [DiagramNodes#SameCHM] or [DiagramNodeChildren#SameCHM] collection).

Top

See Also

Reference

CanvasShapes Interface

Microsoft.Office.Interop.PowerPoint Namespace