GetMaxLength Method

This member of RFBarcode Object is supported on iOS, Windows Mobile, Windows CE, Palm, and DOS.

The GetMaxLength method returns the maximum input length for a specific barcode configuration within the current RFBarcode object.

VB

nLength = object.GetMaxLength (nBarcode)

VC++

HRESULT hr = object->GetMaxLength(short nBarcode, short *nLength);

Return Value

nLength

The maximum input length variable. This method will return a -1 if an error occurs. Use the RFGetLastError method to return the generated error code.

Parameters

nBarcode The zero based index value of the desired barcode configuration. For example, to return the maximum length for the third barcode configuration in the current RFBarcode object you would pass a 2.

Remarks

To return the maximum length for a barcode configuration stored within a barcode file on an RF device, first use the GetBarcodeFile Method to set the barcode file as the current barcode object, then use GetMaxLength.

 


Was this article useful?    

The topic was:

Inaccurate

Incomplete

Not what I expected

Other

Privacy and Legal