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. ====== Item ====== Method of [[:scripting:api:styles:start|IStyles]] ===== Description ===== Returns item by index ===== Parameters ===== * [[scripting:api:data-type:long|long]] **nIndex** ==== Return Value ==== * [[:scripting:api:style:start|IStyle]] **ppStyle** ===== Syntax ===== ==== JavaScript ==== <code javascript> var ppStyle = Styles.Item(nIndex); </code>==== Visual Basic Script ==== <code vb> ppStyle = Styles.Item nIndex </code>==== C++ ==== <code cpp> CComPtr<IStyle> pStyle; HRESULT hr = Styles.get_Item(nIndex, &pStyle); </code>===== See Also ===== [[:scripting:api:styles:start|IStyles]] ~~NOTOC~~