UserDefinedCharacters Property

NI Vision for Visual Basic

UserDefinedCharacters Property

Syntax

NIOCRValidCharsForPos.UserDefinedCharacters

Data Type

String

Purpose

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

Remarks

When you specify UserdefinedCharacters, NIOCR automatically sets PredefinedCharacters to niocrUserDefinedCharacters, which ensures that the UserdefinedCharacters you specified are used as the valid characters for the corresponding character position in the ROI. If you change PredefinedCharacters to any enumerated value other than niocrUserDefinedCharacters after specifying UserdefinedCharacters, NIOCR preserves the value of UserdefinedCharacters and uses the predefined valid characters associated with the enumerated value that you choose.