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. ====== ForeColor ====== Property of [[:scripting:api:style:start|IStyle]] ===== Description ===== ForeColor property ===== Property type ===== Read-Write Property of type **[[scripting:api:data-type:VARIANT|VARIANT]]** ===== Syntax ===== ==== JavaScript ==== <code javascript> var pclrForeColor = Style.ForeColor; Style.ForeColor = pclrForeColor; </code>==== Visual Basic Script ==== <code vb> pclrForeColor = Style.ForeColor Style.ForeColor = pclrForeColor </code>==== C++ ==== <code cpp> VARIANT pclrForeColor; HRESULT hr = Style.get_ForeColor(&pclrForeColor); hr = Style.put_ForeColor(pclrForeColor); </code>===== See Also ===== [[:scripting:api:style:start|IStyle]] ~~NOTOC~~