Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
To Generate Barcode with Empty Bars using Aspose.Barcode Java for Ruby, simply invoke GenerateBarcodeWithEmptyBars module. Here you can see example code.
Ruby Code
data_dir = File.dirname(File.dirname(File.dirname(File.dirname(__FILE__)))) + '/data/'
\# Instantiate barcode object
symbology = Rjb::import('com.aspose.barcode.Symbology')
bb = Rjb::import('com.aspose.barcode.BarCodeBuilder').new("TEXT", symbology.Code128)
\# Set the FilledBars property to false
bb.setFilledBars(false)
bb.save(data_dir + "GenerateBarcodeWithEmptyBars.jpg")
\# Display Status.
puts "Generate Barcode With Empty Bars, please check the output file."
Download Generate Barcode with Empty Bars (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.