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. ====== CurrentWord ====== Property of [[:scripting:api:text-view:start|ITextView]] ===== Description ===== Get current word range ===== Property type ===== Read-Only Property of type **[[:scripting:api:range:overview|IRange]]** ===== Syntax ===== ==== JavaScript ==== <code javascript> var pRange = TextView.CurrentWord; </code>==== Visual Basic Script ==== <code vb> pRange = TextView.CurrentWord </code>==== C++ ==== <code cpp> CComPtr<IRange> pRange; HRESULT hr = TextView.get_CurrentWord(&pRange); </code>===== See Also ===== [[:scripting:api:text-view:start|ITextView]] ~~NOTOC~~