Add Method

NI Vision for Visual Basic

Add Method

Syntax

NIOCRValidChars.Add [UserDefinedCharacters = ""], [PredefinedCharacters = niocrAnyCharacter]

Return Type

NIOCRValidCharsForPos

Purpose

Adds an object to the collection and returns the new object.

Parameters

UserDefinedCharacters as Variant

String that contains all characters that are valid for the corresponding character position when you set PredefinedCharacters to niocrUserDefinedCharacters.

PredefinedCharacters as Variant

Specifies predefined sets of valid characters.