Class Gs1DataBarBarcodeElement


public class Gs1DataBarBarcodeElement extends TextBarcodeElement
Represents a GS1DataBar barcode element.

This class can be used to place a GS1DataBar barcode on a page.

  • Constructor Details

    • Gs1DataBarBarcodeElement

      public Gs1DataBarBarcodeElement(String value, ElementPlacement placement, float height, Gs1DataBarType type, float xOffset, float yOffset)
      Initializes a new instance of the Gs1DataBarBarcodeElement class
      Parameters:
      value - The value of the barcode.
      placement - The placement of the barcode on the page.
      height - The height of the barcode.
      type - The GS1DataBarType of the barcode.
      xOffset - The X coordinate of the barcode.
      yOffset - The Y coordinate of the barcode.
    • Gs1DataBarBarcodeElement

      public Gs1DataBarBarcodeElement(String value, ElementPlacement placement, float height, Gs1DataBarType type)
      Initializes a new instance of the Gs1DataBarBarcodeElement class
      Parameters:
      value - The value of the barcode.
      placement - The placement of the barcode on the page.
      height - The height of the barcode.
      type - The GS1DataBarType of the barcode.
  • Method Details

    • getHeight

      public float getHeight()
      Gets the height of the barcode.
      Returns:
      The height of the barcode.
    • setHeight

      public void setHeight(float value)
      Sets the height of the barcode.
      Parameters:
      value - The height of the barcode.