Color
Description
This type describe a color in ObjectDCL. It is actually an integer with different
meanings based on the value.
- Greater than 256 Interpreted as a COLORREF color composed using the RGB macro in Microsoft® GDI library
- Between 0 and 256 Interpreted as a standard AutoCAD® color
- Between -1 and -21 Interpreted as a standard Windows® color as obtained through GetSysColor function
from the Platform SDK Windows System Information library. To convert the color to the GetSysColor space, compute
(color * -1) - 1.
- -22 Model background color
- -23 Paper (layer) background color
- Another other negative value Interpreted as a standard Windows® color as obtained through GetSysColor function
from the Platform SDK Windows System Information library. To convert the color to the GetSysColor space, compute
(color * -1) - 1.