Replaces text in the document.

HRESULT ReplaceText(
   ULONG    cCharacterPosition,
   ULONG    cNumToReplace,
   OLECHAR  pcharText[]
);

Parameters

cCharacterPosition

[in] Start location of the character range to replace.

cNumToReplace

[in] Number of characters to replace.

pcharText[]

[in] A buffer containing the new characters to replace the old characters.

Expand imageReturn Value

Expand imageRemarks

Expand imageSee Also