Replaces text in the document.
[in] Start location of the character range to replace.
[in] Number of characters to replace.
[in] A buffer containing the new characters to replace the old characters.
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
The method succeeded.
This method replaces text in the document.