Color_ConvertNameToValue()

Examples


The Color_ConvertNameToValue() function converts a Dexterity predefined color name to the corresponding color value.

Syntax

Color_ConvertNameToValue(color_name)

Parameters

color_name – A string containing a Dexterity predefined color name. The following table lists the predefined color names for Dexterity:

[spacer]

Black

Medium Gray

Blue

Pink

Bright Green

Red

Dark Blue

Teal

Dark Red

Turquoise

Dark Yellow

Violet

Green

White

Light Gray

Yellow

Light Yellow

 


Return value

A long integer containing the color value. If an invalid color name is passed to this function, the value 0 is returned.


Documentation Feedback