API.GetColor Method

Returns the color of the entity as an IGEMS indexed color. If the color is negative it is a RGB int color. 1=Red 2=Yellow 3=Green 4=Cyan 5=Blue 6=Magenta
public static int GetColor( 
   object entity 
)

Parameters

entity
object

Return Value

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