Find
Method of ITextDocument
Description
Finds text in the document from the given start position
Parameters
Return Value
- IRange pbResult
Syntax
JavaScript
var pbResult = TextDocument.Find(ptStart, strText, dwFlags, pRange);
Visual Basic Script
pbResult = TextDocument.Find ptStart, strText, dwFlags, pRange
C++
CComPtr<IRange> pbResult; HRESULT hr = TextDocument.Find(ptStart, strText, dwFlags, pRange, &bResult);