Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
To Generate a Patch Code using Aspose.Barcode Java for Ruby, simply invoke PatchCode module. Here you can see example code.
Ruby Code
# Instantiate barcode object
$builder = new BarCodeBuilder();
\# Set Symbology type
$symbology=new Symbology();
$builder->setSymbologyType($symbology->PatchCode);
\# Set code text
$builder->setCodeText("Patch T");
\# Save the image to your system and set its image format to Jpeg
$builder->save($dataDir . "PatchCode.jpg");
\# Display Status
print "Generated PatchCode Successfully.".PHP_EOL;
Download How to Generate a Patch Code (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.