Method MakeColorFromName
Makes Color Property Value from Color NameUsage
Function ZAP.MakeColorFromName (
String Name
)
Parameters
Name
Type: String
Color Name ("green", "blue", etc)
Returns
Color Value, "0" if the color name is unknown
Example
VBScript
msgbox Zap.MakeColorFromName("blue")
JavaScript
alert(Zap.MakeColorFromName("blue"));
Comment
Get color property value and save it to colorNumber variable parameter