Click or drag to resize

EditorViewReplaceText Method

This method finds and replaces the next occurrence of the word specified by the FindWhat parameter starting from the current insertion position.

Namespace:  Kofax.OmniPageCSDK.ToolBoxes
Assembly:  Kofax.OmniPageCSDK.ToolBoxes (in Kofax.OmniPageCSDK.ToolBoxes.dll) Version: 1.0.0.0
Syntax
public bool ReplaceText(
	string FindWhat,
	string ReplaceWith,
	TECFINDOPTIONS Options
)

Parameters

FindWhat
Type: SystemString
ReplaceWith
Type: SystemString
Options
Type: Kofax.OmniPageCSDK.ToolBoxesTECFINDOPTIONS

Return Value

Type: Boolean
Remarks
If the required string was found, it will be selected and replaced with the string specified by the ReplaceWith parameter. The Options parameter is a combination of the values available in the TECFINDOPTIONS enumeration. The return value is True if the replace operation succeeded, False otherwise.
See Also