![]() |
Aspose.Barcode for Python via Java Generation and Recognition API docs
|
Inherits ExtCodetextBuilder.
Public Member Functions | |
def | __init__ (self) |
def | addFNC1FormatIdentifier (self) |
def | addFNC3SymbolSeparator (self) |
def | addFNC3ReaderInitialization (self) |
def | addStructuredAppendMode (self, barcodeId, barcodesCount) |
def | getExtendedCodetext (self) |
def | init (self) |
![]() | |
def | __init__ (self, javaClass) |
def | clear (self) |
Clears extended codetext items. More... | |
def | addPlainCodetext (self, codetext) |
Adds plain codetext to the extended codetext items. More... | |
def | addECICodetext (self, ECIEncoding, codetext) |
Adds codetext with Extended Channel Identifier. More... | |
![]() | |
def | getJavaClass (self) |
def | setJavaClass (self, javaClass) |
def | getJavaClassName (self) |
def | isNull (self) |
def | printJavaClassName (self) |
Static Public Member Functions | |
def | construct (javaClass) |
Static Public Attributes | |
string | JAVA_CLASS_NAME = "com.aspose.mw.barcode.generation.MwDotCodeExtCodetextBuilder" |
Additional Inherited Members | |
![]() | |
javaClass | |
javaClassName | |
Extended codetext generator for 2D DotCode barcodes for ExtendedCodetext Mode of DotCodeEncodeMode <pre> #Extended codetext mode #create codetext textBuilder = DotCodeExtCodetextBuilder() textBuilder.addFNC1FormatIdentifier() textBuilder.addECICodetext(ECIEncodings.Win1251, "Will") textBuilder.addFNC1FormatIdentifier() textBuilder.addECICodetext(ECIEncodings.UTF8, "犬Right狗") textBuilder.addFNC1FormatIdentifier() textBuilder.addECICodetext(ECIEncodings.UTF16BE, "犬Power狗") textBuilder.addPlainCodetext("Plain text") textBuilder.addFNC3SymbolSeparator() textBuilder.addFNC3ReaderInitialization() textBuilder.addPlainCodetext("Reader initialization info") #generate codetext codetext = textBuilder.getExtendedCodetext() #generate generator = BarcodeGenerator(EncodeTypes.DOT_CODE, codetext) generator.getParameters().getBarcode().getDotCode().setDotCodeEncodeMode(DotCodeEncodeMode.EXTENDED_CODETEXT) generator.save("test.bmp", BarCodeImageFormat.BMP)
def __init__ | ( | self | ) |
def addFNC1FormatIdentifier | ( | self | ) |
Adds FNC1 format identifier to the extended codetext items
def addFNC3ReaderInitialization | ( | self | ) |
Adds FNC3 reader initialization to the extended codetext items
def addFNC3SymbolSeparator | ( | self | ) |
Adds FNC3 symbol separator to the extended codetext items
def addStructuredAppendMode | ( | self, | |
barcodeId, | |||
barcodesCount | |||
) |
Adds structured append mode to the extended codetext items :param barcodeId: ID of barcode :param barcodesCount:Barcodes count
|
static |
def getExtendedCodetext | ( | self | ) |
Generates Extended codetext from the extended codetext list. :return:Extended codetext as string
Reimplemented from ExtCodetextBuilder.
def init | ( | self | ) |
Reimplemented from BaseJavaClass.
|
static |