Class BarcodeElement

java.lang.Object
com.dynamicpdf.api.elements.Element
com.dynamicpdf.api.elements.BarcodeElement
Direct Known Subclasses:
Dim2BarcodeElement, TextBarcodeElement

public abstract class BarcodeElement extends Element
Base class from which barcode page elements are derived.
  • Method Details

    • getColor

      public Color getColor()
      Gets the Color of the barcode.
      Returns:
      The Color of the barcode.
    • setColor

      public void setColor(Color value)
      Sets the Color of the barcode.
      Parameters:
      value - The Color of the barcode.
    • getXDimension

      public float getXDimension()
      Gets the XDimension of the barcode.
      Returns:
      The XDimension of the barcode.
    • setXDimension

      public void setXDimension(float value)
      Sets the XDimension of the barcode.
      Parameters:
      value - The XDimension of the barcode.
    • getValue

      public String getValue()
      Gets the value of the barcode.
      Returns:
      The value of the barcode.
    • setValue

      public void setValue(String value)
      Sets the value of the barcode.
      Parameters:
      value - The value of the barcode.