API.SetColor Method

Sets the color of an entity 1=Red 2=Yellow 3=Green 4=Cyan 5=Blue 6=Magenta
public static void SetColor( 
   object entity
   int color 
)

Parameters

entity
object

color
int

An indexed color

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8

In this article

Definition