Extended codetext generator for 2D DataMatrix barcodes for ExtendedCodetext Mode of DataMatrixEncodeMode.
More...
|
None | __init__ (self) |
|
None | addCodetextWithEncodeMode (self, DataMatrixEncodeMode encodeMode, str codetext) |
| Adds codetext with defined encode mode to the extended codetext items. More...
|
|
None | addECICodetextWithEncodeMode (self, ECIEncodings ECIEncoding, DataMatrixEncodeMode encodeMode, str codetext) |
| Adds codetext with Extended Channel Identifier with defined encode mode. More...
|
|
str | getExtendedCodetext (self) |
| Generates Extended codetext from the extended codetext list. More...
|
|
None | init (self) |
|
None | __init__ (self, javaClass) |
|
None | addECICodetext (self, ECIEncodings ECIEncoding, str codetext) |
| Adds codetext with Extended Channel Identifier. More...
|
|
None | addPlainCodetext (self, str codetext) |
| Adds plain codetext to the extended codetext items. More...
|
|
None | clear (self) |
| Clears extended codetext items. More...
|
|
def | getJavaClass (self) |
|
str | getJavaClassName (self) |
|
bool | isNull (self) |
|
None | printJavaClassName (self) |
|
None | setJavaClass (self, javaClass) |
|
Extended codetext generator for 2D DataMatrix barcodes for ExtendedCodetext Mode of DataMatrixEncodeMode.
codetextBuilder = Generation.DataMatrixExtCodetextBuilder()
codetextBuilder.addECICodetextWithEncodeMode(Generation.ECIEncodings.Win1251, Generation.DataMatrixEncodeMode.BYTES, "World")
codetextBuilder.addPlainCodetext("Will")
codetextBuilder.addECICodetext(Generation.ECIEncodings.UTF8, "犬Right狗")
codetextBuilder.addCodetextWithEncodeMode(Generation.DataMatrixEncodeMode.C40, "ABCDE")
codetext = codetextBuilder.getExtendedCodetext()
generator = Generation.BarcodeGenerator(Generation.EncodeTypes.DATA_MATRIX, codetext)
generator.getParameters().getBarcode().getDataMatrix().setDataMatrixEncodeMode(Generation.DataMatrixEncodeMode.EXTENDED_CODETEXT)
generator.save(self.image_path_to_save5, Generation.BarCodeImageFormat.BMP)