Add scripting to your application with Vbsedit !

IDebugDocumentTextAuthor::ReplaceText

 

Replaces text in the document.

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

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.

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.

This method replaces text in the document.


Add VBScript and Javascript scripting
to your application with VbsEdit !



Download Now!

This package includes VbsEdit 32-bit and 64-bit.




Home  

Copyright © 2001-2024 adersοft