Show pageOld revisionsBacklinksAdd to bookBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== GetColor ====== Method of [[:scripting:api:settings:start|ISettings]] ===== Description ===== Get color value by name or hex value ===== Parameters ===== * [[scripting:api:data-type:VARIANT|VARIANT]] **Value** ==== Return Value ==== * [[scripting:api:data-type:OLE_COLOR|OLE_COLOR]] **pColor** ===== Syntax ===== ==== JavaScript ==== <code javascript> var pColor = Settings.GetColor(Value); </code>==== Visual Basic Script ==== <code vb> pColor = Settings.GetColor Value </code>==== C++ ==== <code cpp> OLE_COLOR Color; HRESULT hr = Settings.GetColor(Value, &Color); </code>===== See Also ===== [[:scripting:api:settings:start|ISettings]] ~~NOTOC~~