CurrentWord

Property of ITextView

Description

Get current word range

Property type

Read-Only Property of type IRange

Syntax

JavaScript

var pRange = TextView.CurrentWord;

==== Visual Basic Script ====

pRange = TextView.CurrentWord

==== C++ ====

CComPtr<IRange> pRange;
HRESULT hr = TextView.get_CurrentWord(&pRange);

===== See Also ===== ITextView