Parameters |
Description |
OdUInt16 colorIndex |
[in] An integer value that is the index of the color in a palette. |
Sets the color index (ACI) of a color palette and sets the color method to byACI for the entity color object.
The color index can be one of the following:
Name |
Value |
Description |
kACIbyBlock |
0 |
Sets the color method to byBlock. |
kACIRed |
1 |
Red. |
kACIYellow |
2 |
Yellow. |
kACIGreen |
3 |
Green. |
kACICyan |
4 |
Cyan. |
kACIBlue |
5 |
Blue. |
kACIMagenta |
6 |
Magenta. |
kACIforeground |
7 |
Sets the color method to Foreground. |
.. |
8-255 |
Defined by current palette. |
kACIbyLayer |
256 |
Sets the color method to byLayer. |
kACInone |
257 |
Sets the color method to None. |
An entity does not have a color from the time it is first instantiated until it is assigned one or added to a database.
Copyright © 2002–2020. Open Design Alliance. All rights reserved.
|