Class Pdf417BarcodeElement


public class Pdf417BarcodeElement extends Dim2BarcodeElement
Represents Pdf417 barcode element.

This class can be used to generate Pdf417 barcode symbol.

  • Constructor Details

    • Pdf417BarcodeElement

      public Pdf417BarcodeElement(String value, ElementPlacement placement, int columns, float xOffset, float yOffset)
      Initializes a new instance of the Pdf417BarcodeElement class.
      Parameters:
      value - String to be encoded.
      placement - The placement of the barcode on the page.
      columns - >Columns of the PDF417 barcode.
      xOffset - The X coordinate of the PDF417 barcode.
      yOffset - The Y coordinate of the PDF417 barcode.
    • Pdf417BarcodeElement

      public Pdf417BarcodeElement(String value, ElementPlacement placement, int columns)
      Initializes a new instance of the Pdf417BarcodeElement class.
      Parameters:
      value - String to be encoded.
      placement - The placement of the barcode on the page.
      columns - >Columns of the PDF417 barcode.
    • Pdf417BarcodeElement

      public Pdf417BarcodeElement(byte[] value, ElementPlacement placement, int columns, float xOffset, float yOffset)
      Initializes a new instance of the Pdf417BarcodeElement class.
      Parameters:
      value - String to be encoded.
      placement - The placement of the barcode on the page.
      columns - >Columns of the PDF417 barcode.
      xOffset - The X coordinate of the PDF417 barcode.
      yOffset - The Y coordinate of the PDF417 barcode.
    • Pdf417BarcodeElement

      public Pdf417BarcodeElement(byte[] value, ElementPlacement placement, int columns)
      Initializes a new instance of the Pdf417BarcodeElement class.
      Parameters:
      value - String to be encoded.
      placement - The placement of the barcode on the page.
      columns - >Columns of the PDF417 barcode.
  • Method Details

    • getColumns

      public int getColumns()
      Gets the columns of the barcode.
      Returns:
      The columns of the barcode.
    • setColumns

      public void setColumns(int value)
      Sets the columns of the barcode.
      Parameters:
      value - The columns of the barcode.
    • getYDimension

      public float getYDimension()
      Gets the YDimension of the barcode.
      Returns:
      The YDimension of the barcode.
    • setYDimension

      public void setYDimension(float value)
      Sets the YDimension of the barcode.
      Parameters:
      value - The YDimension of the barcode.
    • getProcessTilde

      public boolean getProcessTilde()
      Gets a boolean indicating whether to process the tilde character.
      Returns:
      A boolean indicating whether to process the tilde character.
    • setProcessTilde

      public void setProcessTilde(boolean value)
      Sets a boolean indicating whether to process the tilde character.
      Parameters:
      value - A boolean indicating whether to process the tilde character.
    • getCompactPdf417

      public boolean getCompactPdf417()
      Gets the Compact Pdf417.
      Returns:
      The Compact Pdf417.
    • setCompactPdf417

      public void setCompactPdf417(boolean value)
      Sets the Compact Pdf417.
      Parameters:
      value - The Compact Pdf417.
    • getErrorCorrection

      public ErrorCorrection getErrorCorrection()
      Gets the error correction level for the PDF417 barcode.
      Returns:
      Returns a ErrorCorrection object.
    • setErrorCorrection

      public void setErrorCorrection(ErrorCorrection value)
      Sets the error correction level for the PDF417 barcode.
      Parameters:
      value - The error correction level for the PDF417 barcode.
    • getCompaction

      public Compaction getCompaction()
      Gets the type of compaction.
      Returns:
      a Compaction object.
    • setCompaction

      public void setCompaction(Compaction value)
      Sets the type of compaction.
      Parameters:
      value - The type of compaction.