Examples of doQuietZone()


Examples of org.krysalis.barcode4j.impl.AbstractBarcodeBean.doQuietZone()

      BitmapCanvasProvider provider = new BitmapCanvasProvider(bitmapResolution, imageType, antialias, orientation);
      provider.establishDimensions(dimension);
      if (barcodeGenerator instanceof AbstractBarcodeBean) {
        AbstractBarcodeBean bean = (AbstractBarcodeBean)barcodeGenerator;
        bean.setModuleWidth(UnitConv.in2mm(pointPixels / bitmapResolution));
        bean.doQuietZone(false);
        bean.generateBarcode(provider, enc);
      }
      else {
        barcodeGenerator.generateBarcode(provider, enc);
      }
View Full Code Here

Examples of org.krysalis.barcode4j.impl.int2of5.Interleaved2Of5Bean.doQuietZone()

   
        //Configure the barcode generator
        bean.setModuleWidth(UnitConv.in2mm(1.5f / Convert.toInteger(dpi)));
       
        bean.setWideFactor(Convert.toDouble(WideFactor));
        bean.doQuietZone(false);
        bean.setBarHeight(Convert.toDouble(BarHeigh));
        bean.setFontSize(Convert.toDouble(FontSize));
       
        response.setContentType("image/jpeg");
        response.setDateHeader("Expires", 0);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.