Visual Formatter Page (Examples)
This section shows some example usages for the Visual Formatter.
Code manipulation and type check
The following examples show how to use the visual formatter to manipulate the barcode string, as well as run some checks on the barcode type in order to execute the operations only for certain types of barcode.
Sample 1
If the barcode type is a CODE128, the barcode text contains "00", and there are at least 18 characters after the "00" (20 characters including the "00"), return 18 characters after "00". Otherwise, return the original code.
