====== 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 ==== var pRange = TextView.CurrentWord; ==== Visual Basic Script ==== pRange = TextView.CurrentWord ==== C++ ==== CComPtr pRange; HRESULT hr = TextView.get_CurrentWord(&pRange); ===== See Also ===== [[:scripting:api:text-view:start|ITextView]] ~~NOTOC~~