Creating an Aztec Barcode in PHP

Aspose.BarCode - Creating an Aztec Barcode

To Create an Aztec Barcode using Aspose.Barcode Java for PHP, simply invoke CreatingAztecBarcode module. Here you can see example code.

PHPCode

 # Instantiate barcode object

$builder = new BarCodeBuilder();

$symbology=new Symbology();

$builder->setSymbologyType($symbology->Aztec);

$builder->setCodeText("1234567890");

\# Save the image to your system and set its image format to Jpeg

$builder->save($dataDir . "CreatingAztecBarcode.jpg");

\# Display Status

print "Created Aztec Barcode Successfully.".PHP_EOL;

Download Running Code

Download Creating an Aztec Barcode (Aspose.BarCode) from any of the below mentioned social coding sites: