![]() |
Aspose.Barcode for PHP via Java Generation and Recognition API docs
|
Inherits ExtCodetextBuilder.
Public Member Functions | |
| __construct () | |
| addFNC1FormatIdentifier () | |
| addFNC3SymbolSeparator () | |
| addFNC3ReaderInitialization () | |
| addStructuredAppendMode (int $barcodeId, int $barcodesCount) | |
| getExtendedCodetext () | |
| init () | |
Public Member Functions inherited from ExtCodetextBuilder | |
| __construct ($javaClass) | |
| clear () | |
| addPlainCodetext (string $codetext) | |
| addECICodetext (int $ECIEncoding, string $codetext) | |
Public Member Functions inherited from BaseJavaClass | |
| getJavaClass () | |
| getJavaClassName () | |
| isNull () | |
| printJavaClassName () | |
Static Public Member Functions | |
| static | construct ($javaClass) |
Public Attributes | |
| const | JAVA_CLASS_NAME = "com.aspose.mw.barcode.generation.MwDotCodeExtCodetextBuilder" |
Additional Inherited Members | |
Protected Member Functions inherited from BaseJavaClass | |
| setJavaClass ($javaClass) | |
Extended codetext generator for 2D DotCode barcodes for ExtendedCodetext Mode of DotCodeEncodeMode
//Extended codetext mode //create codetext $textBuilder = new 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 = new BarcodeGenerator(EncodeTypes::DOT_CODE, $codetext); { $generator->getParameters()->getBarcode()->getDotCode()->setDotCodeEncodeMode(DotCodeEncodeMode::EXTENDED_CODETEXT); $generator->save("test.bmp", BarCodeImageFormat::BMP); }
| DotCodeExtCodetextBuilder::__construct | ( | ) |
| DotCodeExtCodetextBuilder::addFNC1FormatIdentifier | ( | ) |
Adds FNC1 format identifier to the extended codetext items
| DotCodeExtCodetextBuilder::addFNC3ReaderInitialization | ( | ) |
Adds FNC3 reader initialization to the extended codetext items
| DotCodeExtCodetextBuilder::addFNC3SymbolSeparator | ( | ) |
Adds FNC3 symbol separator to the extended codetext items
| DotCodeExtCodetextBuilder::addStructuredAppendMode | ( | int | $barcodeId, |
| int | $barcodesCount | ||
| ) |
Adds structured append mode to the extended codetext items
| barcodeId | ID of barcode |
| barcodesCount | Barcodes count |
|
static |
| DotCodeExtCodetextBuilder::getExtendedCodetext | ( | ) |
Generates Extended codetext from the extended codetext list.
Reimplemented from ExtCodetextBuilder.
| DotCodeExtCodetextBuilder::init | ( | ) |
Reimplemented from ExtCodetextBuilder.
| const DotCodeExtCodetextBuilder::JAVA_CLASS_NAME = "com.aspose.mw.barcode.generation.MwDotCodeExtCodetextBuilder" |