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
Syntaxpublic bool ReplaceAllText(
string FindWhat,
string ReplaceWith,
TECFINDOPTIONS Options,
ref int Replaced
)
Public Function ReplaceAllText (
FindWhat As String,
ReplaceWith As String,
Options As TECFINDOPTIONS,
ByRef Replaced As Integer
) As Boolean
public:
bool ReplaceAllText(
String^ FindWhat,
String^ ReplaceWith,
TECFINDOPTIONS Options,
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