Inherits Enum.
Encoding mode for Code128 barcodes.
specification. This code demonstrates how to generate code 128 with different encodings
generator = Generation.BarcodeGenerator(Generation.EncodeTypes.CODE_128, "ABCD1234567890")
generator.getParameters().getBarcode().getCode128().setCode128EncodeMode(Generation.Code128EncodeMode.AUTO)
generator.save(self.image_path_to_save4, Generation.BarCodeImageFormat.PNG)
generator = Generation.BarcodeGenerator(Generation.EncodeTypes.CODE_128, "ABCD1234567890")
generator.getParameters().getBarcode().getCode128().setCode128EncodeMode(Generation.Code128EncodeMode.CODE_A)
generator.save(self.image_path_to_save41, Generation.BarCodeImageFormat.PNG)