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