Description
For each McGraphObj in the collection, set color properties
-
Return Type
-
None
-
Syntax
-
object.SetColors lColor, [mcdoscFlags]
The SetColors Method syntax has these parts: |
| object | An expression evaluating to an object of type McDisplayedObjects. | | lColor | Required. A Long value. Color to set as a hex number as &HBBGGRR, where BB, GG and RR are values from 00 to FF hex giving the intensities of the Blue, Green and Red components.
| | mcdoscFlags | Optional. A mcDisplayedObjectsSetColorsFlags enumeration, as described in settings. If given, determines which of the BorderColor, FillColor and any label's TextColor properties are set to the lColor value. The default is to set all three colors.
| Settings The settings for mcdoscFlags are:
 | mcdoscSetNoColor | 0 |
No colors are set
|
 | mcdoscSetBorderColor | 1 |
BorderColor is set
|
 | mcdoscSetFillColor | 2 |
FillColor is set
|
 | mcdoscSetLabelColor | 4 |
TextColor of any label is set
|
 | mcdoscSetAllColors | 7 |
BorderColor, FillColor and TextColor are all set (the default)
|
Remarks
The BorderColor, FillColor and any text label TextColor properties may be optionally set with this method. The default is to set all three to the given color.
|