ReplaceAll
Method of ITextDocument
Description
Replace all text matches in the document
Parameters
Return Value
- IRanges ppRanges
Syntax
JavaScript
var ppRanges = TextDocument.ReplaceAll(strWhat, strTo, dwFlags, pRange);
Visual Basic Script
ppRanges = TextDocument.ReplaceAll strWhat, strTo, dwFlags, pRange
C++
CComPtr<IRanges> pRanges; HRESULT hr = TextDocument.ReplaceAll(strWhat, strTo, dwFlags, pRange, &pRanges);