The Color property returns or sets line color as an RGB value. Returns a MVColor.
Syntax
object.Color
object.Color = Color
Parameter |
Type |
Description |
Color |
required; color see remarks |
Remarks
Use the enumeration [mvColorRed], RGB value [RGB(255,0,0)], or number [255] to set a color.
Example 1
This example sets the line color to red.
LineFormat.Color = mvColorRed
Example 2
This example returns the color of a line.
Debug.Print LineFormat.Color
Used by: LineFormat object