Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
To Customize Barcode Image Resolution using Aspose.Barcode Java for PHP, simply invoke CustomizeBarcodeImageResolution module. Here you can see example code.
PHPCode
# Instantiate barcode object
$bb = new BarCodeBuilder();
\# Set the Code text for the barcode
$bb->setCodeText("1234567");
\# Set the symbology type to Code128
$symbology=new Symbology();
$bb->setSymbologyType($symbology->Code128);
\# Create an instance of resolution
$resolutionMode=new ResolutionMode();
$bb->setResolution(new Resolution(200,400,$resolutionMode->Graphics));
$bb->save($dataDir . "CustomizeBarcodeImageResolution.jpg");
\# Display Status.
print "Customized Barcode Image Resolution, please check the output file.".PHP_EOL;
Download Customize Barcode Image Resolution (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.