API Reference > OdDb Classes > OdDbLayerTableRecord Class > OdDbLayerTableRecord Methods > setColor Method
setColor Method

This is the overview for the setColor method overload.

 
Name 
Description 
 
Sets the color for the layer record object (DXF 62). This color is used when the Color property of an entity belonged to this layer is set to byLayer value. The initial value is Foreground (index 7) by default. The same entity can be rendered using different colors in different viewports.
 
 
Sets the color for the layer record object (DXF 62). This color is used when the Color property of an entity belonged to this layer is set to byLayer value. The initial value is Foreground (index 7) by default. The same entity can be rendered using different colors in different viewports.
 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.