This member of Class WaveLinkBarcode is supported on iOS, Windows Mobile, Windows CE, Palm, and DOS.
The MaxLength Method sets the maximum barcode length for the barcode configuration at the specified index.
Syntax
public int MaxLength(int bcIndex)
public void MaxLength(int bcIndex, int newMaxLen)
throws IllegalArgumentException
Parameters
bcIndex |
The zero-based index value of the target barcode configuration |
newMaxLen |
The new maximum barcode length |
Returns
The maximum barcode length
Throws
IllegalArgumentException
Remarks
The first barcode file is indexed as zero. For example, to alter the maximum length of the third barcode file in the current WaveLinkBarcode object, you pass a 2.
To alter the maximum input length for a barcode configuration stored within a barcode file on a device, use GetBarcodeFile Method to set the barcode file as the current barcode object within the application, then use MaxLength.
Input length restrictions for barcode configurations can be eliminated by setting the minimum and maximum barcode length to zero (0).
Was this article useful?
The topic was:
Inaccurate
Incomplete
Not what I expected
Other