![]() ![]() Set myDocument = ActivePresentation.Slides(1) For example, you use the Fill property to return the FillFormat object, and then you set the ForeColor property of the FillFormat object to set the fill foreground color for the specified shape, as shown in the following example. To set properties for a shape, you must first return the object that represents the set of related shape attributes and then set properties of that returned object. Instead, related shape attributes are grouped under secondary objects, such as the FillFormat object, which contains all the properties that relate to the shape's fill, or the LinkFormat object, which contains all the properties that are unique to linked OLE objects. Many formatting properties of shapes are not set by properties that apply directly to the Shape or ShapeRange object. In general, you use the Shapes collection to create shapes and when you want to iterate through all the shapes on a slide you use the Shape object when you want to modify a single shape and you use the ShapeRange collection when you want to modify multiple shapes the same way you can work with multiple selected shapes in the user interface. ![]() Shapes, or drawing objects, are represented by three different objects: the Shapes collection, the ShapeRange collection, and the Shape object. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |