Page.Shapes Property
Publisher Developer Reference |
Returns a Shapes collection that represents all the Shape objects in the specified publication. This collection can contain drawings, shapes, pictures, OLE objects, ActiveX controls, text objects, and callouts.
Syntax
expression.Shapes
expression A variable that represents a Page object.
Remarks
For information about returning a single member of a collection, see Returning an Object from a Collection.
Example
This example adds a rectangle to the first page in the active publication.
Visual Basic for Applications |
---|
|
This example sets the fill texture for all the shapes in the active publication. This example assumes there is at least one shape in the active publication.
Visual Basic for Applications |
---|
|
This example adds a shadow to the first shape in the active publication. This example assumes there is at least one shape in the active publication.
Visual Basic for Applications |
---|
|
This example displays a count of all shapes on the first page of the active publication. This example assumes there is at least one shape in the active publication.
Visual Basic for Applications |
---|
|
See Also