Click or drag to resize

EditorView.ReplaceAllText 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: System.String
ReplaceWith
Type: System.String
Options
Type: Kofax.OmniPageCSDK.ToolBoxes.TECFINDOPTIONS
Replaced
Type: System.Int32

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