Fill Property

 

The Fill property returns the FillFormat object. This is a read-only property.

 

Syntax

object.Fill

 

Example 1

This example demonstrates how to return the fill color of an ellipse.

 

Debug.Print Ellipse.Fill.ForeColor

 

Example 2

This example demonstrates how to set the fill pattern of an ellipse to crosshatch.

 

Ellipse.Fill.Pattern = "Crosshatch"

 

Used by: Area object, CartogramMap object, Ellipse object, Rectangle object