AddItemToVocabulary
This method adds a vocabulary entry to the list of possible items.
Syntax
AddItemToVocabulary (Name as string, Weight as long, caption as CroParaCheckVocabularyEntriesAddOptions, IsVisible as Boolean)
Parameter | Description |
---|---|
Name |
Possible values
|
Weight | Set a value between 0 and 15. Typically, most words have a weight of zero. A weight value of 15 corresponds to a vocabulary entry that appears in approximately 50 percent of the images. |
caOption |
Possible values
|
IsVisible |
Possible values
|
Sample Code
Dim theFieldCheckAnalysisSettings as Object
Set theFieldCheckAnalysisSettings = FieldAnalysissettings
Dim ParaCheckSettings as SCBCdrParaCheckAnalysisSettings
Set ParaCheckSettings = theFieldCheckAnalysisSettings
ParaCheckSettings. AddItemToVocabulary "PayeeName1", 0, CroParaCheckVocabularyEntriesAddDynamic,True
ParaCheckSettings. AddItemToVocabulary "PayeeName2", 15, CroParaCheckVocabularyEntriesAddDynamic, True
ParaCheckSettings. AddItemToVocabulary "PayeeName3", 0, CroParaCheckVocabularyEntriesAddDynamic, False
ParaCheckSettings. AddItemToVocabulary "PayeeName4", 5, CroParaCheckVocabularyEntriesAddDynamic, True