LineColor Property

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

LineColor returns or sets the line color of a symbol as an RGB value. Returns a sfrColor.

Syntax

object.LineColor

object.LineColor = 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 line color of a symbol.

Debug.Print MarkerFormat.LineColor

Example 2

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

MarkerFormat.LineColor = srfColorRed

Used By: MarkerFormat object