Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Replaces text in the document.
Syntax
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.
Return Value
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
| Value | Description |
|---|---|
S_OK |
The method succeeded. |
Remarks
This method replaces text in the document.