Shapes Members
Include Protected Members
Include Inherited 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.
Methods
Name | Description | |
---|---|---|
AddCallout | Adds a borderless line callout to a document. Returns a Shape object that represents the callout and adds it to the Shapes collection. | |
AddCanvas | Adds a drawing canvas to a document. Returns a Shape object that represents the drawing canvas and adds it to the Shapes collection. | |
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. | |
AddConnector | Reserved for internal use. | |
AddCurve | Returns a Shape object that represents a Bézier curve in a document. | |
AddDiagram | Returns a Shape object that represents a newly created diagram in a document. | |
AddLabel | Adds a text label to a document. Returns a Shape object that represents the text label and adds it to the Shapes collection. | |
AddLine | Adds a line to a document. Returns a Shape object that represents the line and adds it to the AddCallout collection. | |
AddOLEControl | Creates an ActiveX control (formerly known as an OLE control). Returns the Shape object that represents the new ActiveX control. | |
AddOLEObject | Creates an OLE object. Returns the Shape object that represents the new OLE object. | |
AddPicture | Adds a picture to a document. Returns a Shape object that represents the picture and adds it to the Shapes collection. | |
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. | |
AddShape | Adds an AutoShape to a document. Returns a Shape object that represents the AutoShape and adds it to the Shapes collection. | |
AddSmartArt | Inserts the specified SmartArt graphic into the active document. | |
AddTextbox | Adds a text box to a document. Returns a Shape object that represents the text box and adds it to the Shapes collection. | |
AddTextEffect | Adds a WordArt shape to a document. Returns a Shape object that represents the WordArt and adds it to the Shapes collection. | |
BuildFreeform | Builds a freeform object. Returns a FreeformBuilder object that represents the freeform as it is being built. | |
GetEnumerator | (Inherited from IEnumerable.) | |
Range | Returns a ShapeRange object. | |
SelectAll | Selects all the shapes in the main story, in a canvas, or in headers and footers of a document. |
Top
Properties
Name | Description | |
---|---|---|
Application | Returns a Application object that represents the Microsoft Word application. | |
Count | Returns the number of items in the specified collection. | |
Creator | Returns a 32-bit integer that indicates the application in which the specified object was created. | |
Item | Returns an individual object in a collection. | |
Parent | Returns an object that represents the parent object of the specified object. |
Top