Class DataMatrixBarcodeElement


public class DataMatrixBarcodeElement extends Dim2BarcodeElement
Represents a Data Matrix barcode element.
  • Constructor Details

    • DataMatrixBarcodeElement

      public DataMatrixBarcodeElement(String value, ElementPlacement placement, float xOffset, float yOffset, DataMatrixSymbolSize symbolSize, DataMatrixEncodingType encodingType, DataMatrixFunctionCharacter functionCharacter)
      Initializes a new instance of the DataMatrixBarcodeElement class
      Parameters:
      value - The value of the barcode.
      placement - The placement of the barcode on the page.
      xOffset - The X coordinate of the barcode.
      yOffset - The Y coordinate of the barcode.
      symbolSize - The symbol size of the barcode.
      encodingType - The encoding type of the barcode.
      functionCharacter - The function character of the barcode.
    • DataMatrixBarcodeElement

      public DataMatrixBarcodeElement(String value, ElementPlacement placement)
      Initializes a new instance of the DataMatrixBarcodeElement class
      Parameters:
      value - The value of the barcode.
      placement - The placement of the barcode on the page.
    • DataMatrixBarcodeElement

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

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

      public DataMatrixBarcodeElement(String value, ElementPlacement placement, float xOffset, float yOffset, DataMatrixSymbolSize symbolSize, DataMatrixEncodingType encodingType)
      Initializes a new instance of the DataMatrixBarcodeElement class
      Parameters:
      value - The value of the barcode.
      placement - The placement of the barcode on the page.
      xOffset - The X coordinate of the barcode.
      yOffset - The Y coordinate of the barcode.
      symbolSize - The symbol size of the barcode.
      encodingType - The encoding type of the barcode.
    • DataMatrixBarcodeElement

      public DataMatrixBarcodeElement(byte[] value, ElementPlacement placement, float xOffset, float yOffset, DataMatrixSymbolSize symbolSize, DataMatrixEncodingType encodingType, DataMatrixFunctionCharacter functionCharacter)
      Initializes a new instance of the DataMatrixBarcodeElement class
      Parameters:
      value - The value of the barcode.
      placement - The placement of the barcode on the page.
      xOffset - The X coordinate of the barcode.
      yOffset - The Y coordinate of the barcode.
      symbolSize - The symbol size of the barcode.
      encodingType - The encoding type of the barcode.
      functionCharacter - The function character of the barcode.
    • DataMatrixBarcodeElement

      public DataMatrixBarcodeElement(byte[] value, ElementPlacement placement)
      Initializes a new instance of the DataMatrixBarcodeElement class
      Parameters:
      value - The value of the barcode.
      placement - The placement of the barcode on the page.
    • DataMatrixBarcodeElement

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

      public DataMatrixBarcodeElement(byte[] value, ElementPlacement placement, float xOffset, float yOffset, DataMatrixSymbolSize symbolSize)
      Initializes a new instance of the DataMatrixBarcodeElement class
      Parameters:
      value - The value of the barcode.
      placement - The placement of the barcode on the page.
      xOffset - The X coordinate of the barcode.
      yOffset - The Y coordinate of the barcode.
      symbolSize - The symbol size of the barcode.
    • DataMatrixBarcodeElement

      public DataMatrixBarcodeElement(byte[] value, ElementPlacement placement, float xOffset, float yOffset, DataMatrixSymbolSize symbolSize, DataMatrixEncodingType encodingType)
      Initializes a new instance of the DataMatrixBarcodeElement class
      Parameters:
      value - The value of the barcode.
      placement - The placement of the barcode on the page.
      xOffset - The X coordinate of the barcode.
      yOffset - The Y coordinate of the barcode.
      symbolSize - The symbol size of the barcode.
      encodingType - The encoding type of the barcode.
  • Method Details

    • getProcessTilde

      public boolean getProcessTilde()
      Gets whether to process tilde character.

      Setting true will check for ~ character and processes it for FNC1 or ECI characters.

      Returns:
      Whether to process tilde character.
    • setProcessTilde

      public void setProcessTilde(boolean value)
      Sets whether to process tilde character.

      Setting true will check for ~ character and processes it for FNC1 or ECI characters.

      Parameters:
      value - Whether to process tilde character.