Shapes members

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.

The Shapes type exposes the following members.

  Name Description
Public property Application Returns a Application object that represents the Microsoft Word application.
Public property Count Returns the number of items in the specified collection.
Public property Creator Returns a 32-bit integer that indicates the application in which the specified object was created.
Public property Item Returns an individual object in a collection.
Public property Parent Returns an object that represents the parent object of the specified object.
Top

  Name Description
Public method AddCallout Adds a borderless line callout to a document. Returns a Shape object that represents the callout and adds it to the Shapes collection.
Public method AddCanvas Adds a drawing canvas to a document. Returns a Shape object that represents the drawing canvas and adds it to the Shapes collection.
Public method AddChart This object, member, or enumeration is deprecated and is not intended to be used in your code.
Public method AddChart2 Adds a chart to the document. Returns a Shape object that represents a chart and adds it to the specified collection.
Public method AddConnector Reserved for internal use.
Public method AddCurve Returns a Shape object that represents a Bézier curve in a document.
Public method AddDiagram Returns a Shape object that represents a newly created diagram in a document.
Public method AddLabel Adds a text label to a document. Returns a Shape object that represents the text label and adds it to the Shapes collection.
Public method AddLine Adds a line to a document. Returns a Shape object that represents the line and adds it to the AddCallout collection.
Public method AddOLEControl Creates an ActiveX control (formerly known as an OLE control). Returns the Shape object that represents the new ActiveX control.
Public method AddOLEObject Creates an OLE object. Returns the Shape object that represents the new OLE object.
Public method AddPicture Adds a picture to a document. Returns a Shape object that represents the picture and adds it to the Shapes collection.
Public method AddPolyline Adds an open or closed polygon to a document. Returns a Shape object that represents the polygon and adds it to the Shapes collection.
Public method AddShape Adds an AutoShape to a document. Returns a Shape object that represents the AutoShape and adds it to the Shapes collection.
Public method AddSmartArt Inserts the specified SmartArt graphic into the active document.
Public method AddTextbox Adds a text box to a document. Returns a Shape object that represents the text box and adds it to the Shapes collection.
Public method AddTextEffect Adds a WordArt shape to a document. Returns a Shape object that represents the WordArt and adds it to the Shapes collection.
Public method AddWebVideo Adds a new web video to the document.
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.
Public method SelectAll Selects all the shapes in the main story, in a canvas, or in headers and footers of a document.
Top
Show: