
Use the TextEffect property, which returns the TextEffectFormat object, to format WordArt. Use the Shadow property, which returns the ShadowFormat object, to format a shadow. New shapes inherit many of their attributes from the default shape. Use the SetShapesDefaultProperties method to set the formatting for the default shape for the document. Use the PickUp and Apply methods to transfer formatting from one shape to another. Use the Line property to return a LineFormat object, which contains properties and methods for formatting lines and arrows. Use the Fill property to return the FillFormat object, which contains all the properties and methods for formatting the fill of a closed shape. Use the Callout property, which returns the CalloutFormat object, to format line callouts. Use the AutoShapeType property to specify the type of AutoShape: oval, rectangle, or balloon, for example. After a group has been formed, you can work with the group the same way that you work with any other shape. Use the ShapeRange.Group or Regroup method to group a range of shapes and return a single Shape object that represents the newly formed group.

Use GroupItems ( index), where index is the shape name or the index number within the group, to return a Shape object that represents a single shape in a grouped shape. To add a Shape object to the collection of shapes for the specified document and return a Shape object that represents the newly created shape, use one of the following methods of the Shapes collection: Use Selection.ShapeRange ( index), where index is the name or the index number, to return a Shape object that represents a shape within a selection. Return a shape or shapes within a selection To give a shape a more meaningful name, set the Name property of the shape. For example, if you add three different shapes to a document, they might be named Rectangle 2, TextBox 3, and Oval 4. Use Shapes ( index), where index is the name or the index number, to return a single Shape object.Įach shape is assigned a default name when it is created.

Remarks Return an existing shape on a document

If you want to work with several shapes at the same time or with shapes within the selection, use a ShapeRange collection.
