|Publisher Developer Reference|
Many of the properties of the FillFormat object are read-only. To set one of these properties, you have to apply the corresponding method.
Use the Fill property to return a FillFormat object. The following example adds a shape to the active document and then sets the gradient and color for the shape's fill.
|Visual Basic for Applications|