This documentation is archived and is not being maintained.

Shapes Methods

The Shapes type exposes the following members.

  NameDescription
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 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.
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 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 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: