Aspose.Barcode for PHP via Java Generation and Recognition API docs
|
Inherits ExtCodetextBuilder.
Public Member Functions | |
__construct () | |
init () | |
addECICodetextWithEncodeMode (int $ECIEncoding, int $encodeMode, string $codetext) | |
addCodetextWithEncodeMode (int $encodeMode, string $codetext) | |
getExtendedCodetext () | |
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) |
Private Attributes | |
const | JAVA_CLASS_NAME = "com.aspose.mw.barcode.generation.MwDataMatrixExtCodetextBuilder" |
Additional Inherited Members | |
Protected Member Functions inherited from BaseJavaClass | |
setJavaClass ($javaClass) | |
Extended codetext generator for 2D DataMatrix barcodes for ExtendedCodetext Mode of DataMatrixEncodeMode
//Extended codetext mode //create codetext $textBuilder = new DataMatrixExtCodetextBuilder(); $codetextBuilder->addECICodetextWithEncodeMode(ECIEncodings::Win1251, DataMatrixEncodeMode::BYTES, "World"); $codetextBuilder->addPlainCodetext("Will"); $codetextBuilder->addECICodetext(ECIEncodings::UTF_8, "犬Right狗"); $codetextBuilder->addCodetextWithEncodeMode(DataMatrixEncodeMode::C_40, "ABCDE"); //generate codetext $codetext = $textBuilder->getExtendedCodetext(); //generate $generator = new BarcodeGenerator(EncodeTypes::DATA_MATRIX, null, $codetext); $generator->getParameters()->getBarcode()->getDataMatrix()->setDataMatrixEncodeMode(DataMatrixEncodeMode::EXTENDED_CODETEXT); $generator->save("test.bmp", BarcodeImageFormat::BMP);
DataMatrixExtCodetextBuilder::__construct | ( | ) |
DataMatrixExtCodetextBuilder::addCodetextWithEncodeMode | ( | int | $encodeMode, |
string | $codetext | ||
) |
Adds codetext with defined encode mode to the extended codetext items
encodeMode | Encode mode value |
codetext | Codetext in unicode to add as extended codetext item |
DataMatrixExtCodetextBuilder::addECICodetextWithEncodeMode | ( | int | $ECIEncoding, |
int | $encodeMode, | ||
string | $codetext | ||
) |
Adds codetext with Extended Channel Identifier with defined encode mode
ECIEncoding | Extended Channel Identifier |
encodeMode | Encode mode value |
codetext | Codetext in unicode to add as extended codetext item with Extended Channel Identifier with defined encode mode |
|
static |
DataMatrixExtCodetextBuilder::getExtendedCodetext | ( | ) |
Generates Extended codetext from the extended codetext list.
Reimplemented from ExtCodetextBuilder.
DataMatrixExtCodetextBuilder::init | ( | ) |
Reimplemented from ExtCodetextBuilder.
|
private |