GetWordFromPos
Method of ITextView
Description
Returns range of word intersecting the position
Parameters
- IPosition pt
Return Value
- IRange ppRange
Syntax
JavaScript
var ppRange = TextView.GetWordFromPos(pt);
==== Visual Basic Script ====
ppRange = TextView.GetWordFromPos pt
==== C++ ====
CComPtr<IRange> pRange; HRESULT hr = TextView.GetWordFromPos(pt, &pRange);
===== See Also ===== ITextView