SetBarcodeValueFile

 

Sets the file and path that is used as the value of the barcode. This value is used for the barcode generation if SetBarcodeValueSource is set to BARCODE_FILE (1).

The maximum number of characters allowed depends on the set barcode type; in case of QR and PDF417 codes the error correction levels; and in case of QR, Datamatrix and PDF417 codes, the type of characters used (digits, alphanumeric, etc.). The allowed characters depend on the barcode type used. For more information, please refer to the manual.

The value is not validated by this function. The barcode will not be printed if unsupported characters are used, or the length of the string is longer than supported by the selected barcode type.

 

The content of the file is not validated by this function. The barcode will not be printed if unsupported characters are used, or the length of the string is longer than supported by the selected barcode type.

 

SetBarcodeValueFile (pDevMode As Long, pValue As String) As Boolean

 

Input value - pDevMode: handle to the BlackIceDEVMODE structure.

Input value – pValue: (string) filename and path of the barcode value file

Return value - TRUE on success, FALSE otherwise.

 

NOTE: For 32-bit applications, use pDevMode as Integer, instead of Long.