SetWordSearchOptions(MinConf As Integer, CharStyle As Integer, MinWordHeight As Integer, MaxWordHeight As Integer, CaseSensitive As Boolean) As Integer

DocContent object

Example

Description

Sets the search criteria used by FindBestWordMatches. Changes how searches are performed. The default search criteria are listed in the table below.

Syntax

[ReturnValue=]Object.SetWordSearchOptions( MinConf, CharStyle, MinWordHeight, MaxWordHeight, CaseSensitive)

Part

Data type

Description

Default

Object

DocContent

 

 

MinConf

Integer

Specifies the minimum confidence (0– 100) of a fuzzy match to be accepted as a match.

0

CharStyle

Integer

Specifies whether to search among:

0 = Both handwritten and machine-printed words

1 = Machine-printed words only

2 = Handwritten words only

0

MinWordHeight

Integer

The minimum height of words to be searched, in mm.

0 (no minimum)

MaxWordHeight

Integer

The maximum height of words to be searched, in mm.

0 (no maximum)

CaseSensitive

Boolean

TRUE if the search is to be case sensitive.

FALSE

Return value

Data type: Integer

Description: Returns 0 on success.

Remarks

AddSearchWord

The DocContent object