Share via


Shapes Object Members

Word Developer Reference

A collection of Shape objects that represent all the shapes in a document or all the shapes in all the headers and footers in a document. Each Shape object represents an object in the drawing layer, such as an AutoShape, freeform, OLE object, or picture.

Methods

  Name Description
Bb257751.methods(en-us,office.12).gif AddCallout Adds a borderless line callout to a drawing canvas.
Bb257751.methods(en-us,office.12).gif AddCanvas Adds a drawing canvas to a document. Returns a Shape object that represents the drawing canvas and adds it to the Shapes collection.
Bb257751.methods(en-us,office.12).gif AddChart Inserts a chart, of the specified type, as a shape into the active document, and opens Microsoft Office Excel with a sheet that contains the default data that Microsoft Office Word uses to create the chart.
Bb257751.methods(en-us,office.12).gif AddCurve Returns a Shape object that represents a Bézier curve in a drawing canvas.
Bb257751.methods(en-us,office.12).gif AddLabel Adds a text label to a drawing canvas.
Bb257751.methods(en-us,office.12).gif AddLine Adds a line to a drawing canvas.
Bb257751.methods(en-us,office.12).gif AddOLEControl Creates an ActiveX control (formerly known as an OLE control). Returns the InlineShape object that represents the new ActiveX control.
Bb257751.methods(en-us,office.12).gif AddOLEObject Creates an OLE object. Returns the InlineShape object that represents the new OLE object.
Bb257751.methods(en-us,office.12).gif AddPicture Adds a picture to a drawing canvas. Returns a Shape object that represents the picture and adds it to the CanvasShapes collection.
Bb257751.methods(en-us,office.12).gif AddPolyline Adds an open or closed polygon to a drawing canvas. Returns a Shape object that represents the polygon and adds it to the CanvasShapes collection.
Bb257751.methods(en-us,office.12).gif AddShape Adds an AutoShape to a drawing canvas.
Bb257751.methods(en-us,office.12).gif AddTextbox Adds a text box to a drawing canvas.
Bb257751.methods(en-us,office.12).gif AddTextEffect Adds a WordArt shape to a drawing canvas. Returns a Shape object that represents the WordArt and adds it to the CanvasShapes collection.
Bb257751.methods(en-us,office.12).gif BuildFreeform Builds a freeform object.
Bb257751.methods(en-us,office.12).gif Item Returns an individual Shape object in a collection.
Bb257751.methods(en-us,office.12).gif Range Returns a ShapeRange object that represents the shapes within a range.
Bb257751.methods(en-us,office.12).gif SelectAll Selects all the shapes in a collection of shapes.

Properties

  Name Description
Bb257751.properties(en-us,office.12).gif Application Returns an Application object that represents the Microsoft Word application.
Bb257751.properties(en-us,office.12).gif Count Returns a Long that represents the number of shapes in the collection. Read-only.
Bb257751.properties(en-us,office.12).gif Creator Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only Long.
Bb257751.properties(en-us,office.12).gif Parent Returns an Object that represents the parent object of the specified Shapes object.