CanvasShapes Object Members
Word Developer Reference |
Use the CanvasItems property of either a Shape or ShapeRange object to return a CanvasShapes collection.
Methods
Name | Description | |
---|---|---|
AddCallout | Adds a borderless line callout to a drawing canvas. Returns a Shape object that represents the callout. | |
AddConnector | Returns a Shape object that represents a connecting line between two shapes in a drawing canvas. | |
AddCurve | Returns a Shape object that represents a Bézier curve in a drawing canvas. | |
AddLabel | Adds a text label to a drawing canvas. Returns a Shapes object that represents the text label. | |
AddLine | Adds a line to a drawing canvas. Returns a Shape object that represents the line and adds it to the CanvasShapes collection. | |
AddPicture | Adds a picture to a drawing canvas. Returns a Shape object that represents the picture and adds it to the CanvasShapes collection. | |
AddPolyline | Adds an open or closed polygon to a drawing canvas. Returns a Shape object that represents the polygon. | |
AddShape | Adds an AutoShape to a drawing canvas. Returns a Shape object that represents the AutoShape. | |
AddTextbox | Adds a text box to a drawing canvas. Returns a Shape object that represents the text box. | |
AddTextEffect | Adds a WordArt shape to a drawing canvas. Returns a Shape object that represents the WordArt. | |
BuildFreeform | Builds a freeform object. Returns a FreeformBuilder object that represents the freeform as it is being built. | |
Item | Returns an individual Shape object in a collection. | |
Range | Returns a ShapeRange object. | |
SelectAll | Selects all the shapes in a canvas. |
Properties
Name | Description | |
---|---|---|
Application | Returns an Application object that represents the Microsoft Word application. | |
Count | Returns a Long that represents the number of canvas shapes in the specified collection. Read-only. | |
Creator | Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only Long. | |
Parent | Returns an Object that represents the parent object of the specified CanvasShapes object. |