SetBarcodeValueFile

 

#include “BlackIceDEVMODE.h”

 

BOOL            SetBarcodeValueFile (BlackIceDEVMODE* pDevMode, LPCTSTR pValue);

Description

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.

 

Parameters

BlackIceDEVMODE* pDevMode               - pointer to the BlackIceDEVMODE structure.

LPCTSTR pValue                                        - null-terminated string, pointer to the filename and path

Return value

TRUE on success, otherwise FALSE.

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.