Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
To Set Size Unit for the Barcode Image using Aspose.Barcode Java for PHP, simply invoke SetBarcodeImageUnitSize module. Here you can see example code.
PHPCode
# Instantiate barcode object
$symbology = new Symbology();
$bb = new BarCodeBuilder("12345678", $symbology->Code128);
\# Measurement is Milimeter
$graphicsUnit=new GraphicsUnit();
$bb->setGraphicsUnit($graphicsUnit->Point);
\# Set the bar height to 3 points
$bb->setBarHeight(3.0);
$bb->save($dataDir . "SetBarcodeImageUnitSize.jpg");
\# Display Status.
print "Set Barcode Image Unit Size, please check the output file.".PHP_EOL;
Download Set Size Unit for the Barcode Image (Aspose.BarCode) from any of the below mentioned social coding sites:
Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.