Generate Barcode with Empty Bars in PHP
Contents
[
Hide
]
Aspose.BarCode - Generate Barcode with Empty Bars
To Generate Barcode with Empty Bars using Aspose.Barcode Java for PHP, simply invoke GenerateBarcodeWithEmptyBars module. Here you can see example code.
PHPCode
# Instantiate barcode object
$symbology = new Symbology();
$bb = new BarCodeBuilder("TEXT", $symbology->Code128);
\# Set the FilledBars property to false
$bb->setFilledBars(false);
$bb->save($dataDir . "GenerateBarcodeWithEmptyBars.jpg");
\# Display Status.
print "Generate Barcode With Empty Bars, please check the output file.".PHP_EOL;
Download Running Code
Download Generate Barcode with Empty Bars (Aspose.BarCode) from any of the below mentioned social coding sites: