Fill Property

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

Syntax

object.Fill

Remarks

The fill property is not used with 3D XYY bar charts, 3D XYZ bar charts, 3D XYY floating bar charts, and 3D XYY histograms when using the Auto3DView object.

Example 1

The following example shows how to change the background color of a rectangle.

Rectangle.Fill.BackColor(grfColorPurple)

Example 2

The following example shows how to return the pattern type.

Debug.Print Rectangle.Fill.PatternName

 

Used by: Auto3DAxis object, Auto3DView object, Auto3DXYZBarChart object, AutoBarChart object, AutoBoxPlot object, AutoBubblePlot object, AutoConfidencePlot object, AutoEllipse object, AutoFitPlot object, AutoFloatingBar object, AutoGraphTitle object, AutoHistogram object, AutoInsetZoom object, AutoLegend object, AutoLinePlot object, AutoMarker object, AutoPieChartTitle object, AutoPolarBarChart object, AutoPolygon object, AutoRectangle object, AutoRoseDiagram object, AutoScaleTitle object, AutoStiffPlot object, AutoTernaryBubblePlot object