API.SetColor Method

Sets the color of an entity 1=Red 2=Yellow 3=Green 4=Cyan 5=Blue 6=Magenta
Public Shared Sub SetColor( _ 
ByVal entity As Object, _ 
ByVal color As Integer
)
This language is not supported or no code example is available.
public static void SetColor( 
object entity
int color 
)
This language is not supported or no code example is available.
public:  
static void SetColor( 
object^ entity
int color 
)
This language is not supported or no code example is available.
public static function SetColor( 
entity : object
color : int 
);
This language is not supported or no code example is available.

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