Functions
There are two ways to view the CNS Barcode function reference, the Function Reference below, and the Function Reference Browser in a new window.
Function ReferenceThe Function Reference is a complete reference for CNS Barcode functions. Click on a function title to view more information which includes the function description, parameter information, example usage and more. | Function Reference Browser![]() The Function Reference Browser offers better navigation for the CNS Barcode functions, you can Launch Function Browser in a new window. |
Function Reference
- CNSBC_AddProfile
This function will add a new scanning profile to the plug-in. Profiles tell the plug-in what to do with the data it scans from a... read more
- CNSBC_Configure
Calling this function with no parameters will open the CNS Barcode Configuration Dialog. You can optionally open to a specific tab by specifying the name of the tab as the "Option" parameter. This... read more
- CNSBC_ConfigureProfile
This function will bring up a dialog allowing you to configure the settings for a profile. If you call this function without any parameters, you will be able to configure all the profiles currently... read more
- CNSBC_Generate
This function will take the data you provide it and generate a barcode image in PNG, EPS, or SVG... read more
- CNSBC_GetLastProfileName
This function will return the name of the profile used to process the last scanned barcode. This is useful when the profile is set to call a script after reading a... read more
- CNSBC_GetProfileNames
Use this function to get a list of names of all the currently defined... read more
- CNSBC_GetProfileOption
This function will return the setting for one of the options set in the given... read more
- CNSBC_Register
You can use this function to Register the plug-in from a script instead of through the Configuration Dialog. This is useful when the plug-in is being distributed to many computers, allowing you to... read more
- CNSBC_RemoveProfile
Use this function to remove an existing... read more
- CNSBC_ScanImage
This function will scan an image for barcodes and process them according to the specified profile. The image can be a stored or by reference container, or it can be a path to an image file on the... read more
- CNSBC_ScanWindow
This function is used to work with a scanning window that contains a live video stream from your webcam. The Action parameter determines what will be done as well as what other parameters are... read more
- CNSBC_SetProfileOption
Use this function to set a profile option in an existing... read more
- CNSBC_Version
This function returns the current version of CNS Barcode. This function is useful for testing whether or not the plug-in is installed and enabled. If you call this function and a question mark ("?")... read more
- CNSBC_VersionAutoUpdate
This function returns an Auto Update friendly Version number of CNS Barcode. The format of this version number is always exactly 8 digits long. The first two digits represent the major version of the... read more
