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. ====== AssociativeColor ====== Property of [[:scripting:api:text-document:start|ITextDocument]] ===== Description ===== Associative Color ===== Property type ===== Read-Write Property of type **[[scripting:api:data-type:OLE_COLOR|OLE_COLOR]]** ===== Syntax ===== ==== JavaScript ==== <code javascript> var pclr = TextDocument.AssociativeColor; TextDocument.AssociativeColor = pclr; </code>==== Visual Basic Script ==== <code vb> pclr = TextDocument.AssociativeColor TextDocument.AssociativeColor = pclr </code>==== C++ ==== <code cpp> OLE_COLOR pclr; HRESULT hr = TextDocument.get_AssociativeColor(&pclr); hr = TextDocument.put_AssociativeColor(pclr); </code>===== See Also ===== [[:scripting:api:text-document:start|ITextDocument]] ~~NOTOC~~