MinLength Method

This member of Class WaveLinkBarcode is supported on iOS, Windows Mobile, Windows CE, Palm, and DOS.

The MinLength Method sets the minimum barcode length for the barcode configuration at the specified index.

Syntax

public int MinLength(int bcIndex)

public void MinLength(int bcIndex, int newMinLen)
throws IllegalArgumentException

Parameters

bcIndex

The zero-based index value of the target barcode configuration

newMinLen

The new minimum input length for the barcode configuration

Returns

The minimum 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 minimum input length for a barcode configuration stored within a barcode file on a device, first use the GetBarcodeFile Method to set the barcode file as the current barcode object within the application, then use MinLength.

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

Privacy and Legal