Class Code25BarcodeElement


public class Code25BarcodeElement extends TextBarcodeElement
Represents a Code 2 of 5 barcode element.

This class can be used to place a Code 2 of 5 barcode on a page.

  • Constructor Details

    • Code25BarcodeElement

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

      public Code25BarcodeElement(String value, ElementPlacement placement, float height)
      Initializes a new instance of the Code25BarcodeElement class
      Parameters:
      value - The value of the barcode.
      placement - The placement of the barcode on the page.
      height - The height 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.