Click or drag to resize

EditorViewReplaceAllText Method

This method finds and replaces all occurrences of the word specified by the FindWhat parameter starting from the current insertion position with the word specified by the ReplaceWith parameter.

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

Parameters

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

Return Value

Type: Boolean
Remarks
The Options parameter is a combination of the values available in the TECFINDOPTIONS enumeration. The Replaced parameter returns the number of replaced occurrences. The return value is True if the Replace all operation succeeded, False otherwise.
See Also