Method of ITextDocument
Replace all text matches in the document
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);
===== See Also ===== ITextDocument