Barcode Generator pour PHP
Barcode Generator pour ASP.NET
Version courante : 2.1.0
Aztec Barcode - Démonstration


* Pour cette démo, maximum de 200 caractères
Rune #
Aztec Barcode
Configurations

* Pour cette démo, seulement de 1 à 4











Résultat Code
<?php
require('BCGColor.php');
require('BCGDrawing.php');
require('BCGaztec.barcode2d.php');

$colorfg = new BCGColor(0, 0, 0);
$colorbg = new BCGColor(255, 255, 255);

// Aztec Part
$code = new BCGaztec();
$code->setScale(4);
$code->setErrorLevel(23);
$code->setSize(BCGaztec::AZTEC_SIZE_SMALLEST);
$code->setColor($colorfg, $colorbg);
$code->parse('Code 2D!');

// Drawing Part
$drawing = new BCGDrawing('', $colorbg);
$drawing->setBarcode($code);
$drawing->draw();

header('Content-Type: image/png');

$drawing->finish(BCGDrawing::IMG_FORMAT_PNG);
?>
Sélectionnez Langue : English