GetFirstWordMatch(MatchedSearchWord As String, MatchConfidence As Integer) As DocWord

DocContent object

Example

Description

Returns the word that matches and a value indicating the confidence.

This method must be preceded by a call to FindBestWordMatches in order to return something.

Syntax

[FoundWord =] Object.GetFirstWordMatch(MatchedSearchWord, MatchConfidence)

Part

Data type

Description

Object

DocContent

 

FoundWord

DocWord

A DocWord that matched one of the search words added by calling the AddSearchWord method.

MatchedSearchWord

String (ByRef)

The search word that matched the FoundWord.

MatchConfidence

Integer (ByRef)

A value from 0 to 100 that indicates how well MatchedSearchWord and FoundWord match. 100 is a perfect match. 0– 99 indicates an imperfect match. The value is actually the percentage of characters that matched.

Return value

Data type: DocWord

Description: A word object, or an empty object if no more words exist.

Remarks

GetNextWordMatch

The DocContent object