com.aspose.words

Interface IBarcodeGenerator

  • public interface IBarcodeGenerator 

Public interface for barcode custom generator. Implementation should be provided by user.
Generator instance should be passed through the FieldOptions.BarcodeGenerator property.

Method Summary
abstract java.awt.image.BufferedImagegetBarcodeImage(BarcodeParameters parameters)
Generate barcode image using the set of parameters (for DisplayBarcode field).
abstract java.awt.image.BufferedImagegetOldBarcodeImage(BarcodeParameters parameters)
Generate barcode image using the set of parameters (for old-fashioned Barcode field).
 

    • Method Detail

      • getBarcodeImage

        public abstract java.awt.image.BufferedImage getBarcodeImage(BarcodeParameters parameters)
                                                   throws java.lang.Exception
        Generate barcode image using the set of parameters (for DisplayBarcode field).
        Parameters:
        parameters - The set of parameters
        Returns:
        Image representing generated barcode.
      • getOldBarcodeImage

        public abstract java.awt.image.BufferedImage getOldBarcodeImage(BarcodeParameters parameters)
                                                      throws java.lang.Exception
        Generate barcode image using the set of parameters (for old-fashioned Barcode field).
        Parameters:
        parameters - The set of parameters
        Returns:
        Image representing generated barcode.