Aspose.Barcode for PHP via Java Generation and Recognition API docs
ExtCodetextBuilder Class Reference

Inherits BaseJavaClass.

Inherited by DataMatrixExtCodetextBuilder, DotCodeExtCodetextBuilder, MaxiCodeExtCodetextBuilder, and QrExtCodetextBuilder.

Public Member Functions

 __construct ($javaClass)
 
 init ()
 
 clear ()
 
 addPlainCodetext (string $codetext)
 
 addECICodetext (int $ECIEncoding, string $codetext)
 
 getExtendedCodetext ()
 
- Public Member Functions inherited from BaseJavaClass
 getJavaClass ()
 
 getJavaClassName ()
 
 isNull ()
 
 printJavaClassName ()
 

Additional Inherited Members

- Protected Member Functions inherited from BaseJavaClass
 setJavaClass ($javaClass)
 

Detailed Description

Helper class for automatic codetext generation of the Extended Codetext Mode

Constructor & Destructor Documentation

◆ __construct()

ExtCodetextBuilder::__construct (   $javaClass)

Reimplemented from BaseJavaClass.

Member Function Documentation

◆ addECICodetext()

ExtCodetextBuilder::addECICodetext ( int  $ECIEncoding,
string  $codetext 
)

Adds codetext with Extended Channel Identifier

Parameters
intECIEncoding Extended Channel Identifier
stringcodetext Codetext in unicode to add as extended codetext item with Extended Channel Identifier

◆ addPlainCodetext()

ExtCodetextBuilder::addPlainCodetext ( string  $codetext)

Adds plain codetext to the extended codetext items

Parameters
string$codetextCodetext in unicode to add as extended codetext item

◆ clear()

ExtCodetextBuilder::clear ( )

Clears extended codetext items

◆ getExtendedCodetext()

ExtCodetextBuilder::getExtendedCodetext ( )

Generate extended codetext from generation items list

Returns
string Return string of extended codetext

Reimplemented in DataMatrixExtCodetextBuilder, DotCodeExtCodetextBuilder, MaxiCodeExtCodetextBuilder, and QrExtCodetextBuilder.

◆ init()

ExtCodetextBuilder::init ( )