BoxLang 🚀 A New JVM Dynamic Language Learn More...

CFBarcode4J

v0.1.10 Modules

CFBarcode4J

A simple wrapper around Barcode4J - a Java library for creating Barcodes

Examples

box install cfbarcode4j
// returns a cfimage
image = wirebox.getInstance( dsl = "Barcode@cfbarcode4j" ).code128().generate('Hello World!');

// writes an image to the browser
wirebox.getInstance( dsl = "Barcode@cfbarcode4j" ).code128().toImage('Hello Again!');

Attributes

To change any of the attributes, use the set methods before calling generate or toImage.

image = wirebox.getInstance( dsl = "Barcode@cfbarcode4j" ).code128().setFontSize(1).generate('Hello World!');

$ box install CFBarcode4J

No collaborators yet.
     
  • {{ getFullDate("2020-03-30T17:01:18Z") }}
  • {{ getFullDate("2020-03-31T09:59:18Z") }}
  • 3,088
  • 203