GetBarcodeRegExpFile

 

Returns the file and path that contains the regular expression used for the barcode generation. This regular expression is used for the barcode generation if SetBarcodeValueSource is set to BARCODE_PAGE_CONTENT (1).

This regular expression file is used in conjunction with the regular expression format file returned by GetBarcodeRegExpFormatFile.

If pValue is NULL or too small, the function returns FALSE, and pSize will contain the number of bytes required for storing the filename.

If the regular expression file is not set or points to a nonexistent file, the whole text of the printed page is used for the barcode generation.

 

GetBarcodeRegExpFile (pDevMode As Long) As String

 

Input value - pDevMode: handle to the BlackIceDEVMODE structure.

Return value – The name and path of the regular expression file.

 

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