Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
To Set Aspect Ratio of Barcodes using Aspose.Barcode Java for PHP, simply invoke SetAspectRatio module. Here you can see example code.
PHPCode
# Instantiate barcode object
$builder = new BarCodeBuilder();
$symbology=new Symbology();
$builder->setSymbologyType($symbology->Pdf417);
$builder->setCodeText("1234567890");
\# Set Aspect Ratio to 3:2 or 1.5
$builder->setAspectRatio(1.5);
\# Save the image
$builder->save($dataDir . "SetAspectRatio.jpg");
\# Display Status
print "Set Aspect Ratio Successfully.".PHP_EOL;
Download Set Aspect Ratio of Barcodes (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.