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 Shared Function GetColor( _
ByVal entity As Object _
) As Integer
This language is not supported or no code example is available.
This language is not supported or no code example is available.
public:
static int GetColor(
object^ entity
)
This language is not supported or no code example is available.
public static function GetColor(
entity : object
) : int;
This language is not supported or no code example is available.
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