FillColor Property

The FillColor property is superseded by FillColorRGBA. Please consider using the more recent version. FillColor has been retained for backwards compatibility.

FillColor returns or sets the fill color of a symbol as an RGB value. Returns a sfrColor.

Syntax

object. FillColor

object. FillColor = Color

Parameter

Type

Description

Color

srfColor

required

Remarks

Use the enumeration [srfColorRed], RGB value [RGB(255,0,0)], or number [255] to set a color.

Example 1

This example demonstrates how to return the fill color of a symbol.

Debug.Print MarkerFormat.FillColor

Example 2

This example demonstrates how to set the fill color of a symbol to red.

MarkerFormat.FillColor = srfColorRed

Used By: MarkerFormat object